This commit is contained in:
@@ -33,6 +33,13 @@ python -m scripts.bootstrap_admin
|
||||
curl -fsS http://127.0.0.1:8000/ready
|
||||
```
|
||||
|
||||
If port `8000` is already used on the host, set `APP_PORT` in `.env` and point the reverse proxy to that local port:
|
||||
|
||||
```bash
|
||||
APP_PORT=8010
|
||||
curl -fsS http://127.0.0.1:8010/ready
|
||||
```
|
||||
|
||||
The default compose stack includes Postgres, Redis, API and bot services with health checks, restart policies and log rotation.
|
||||
Telegram notifications are the primary pilot notification channel. Browser push currently stores subscriptions and is treated as beta until server-side Web Push delivery is enabled.
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ services:
|
||||
VAPID_PUBLIC_KEY: ${VAPID_PUBLIC_KEY:-}
|
||||
VAPID_PRIVATE_KEY: ${VAPID_PRIVATE_KEY:-}
|
||||
ports:
|
||||
- "127.0.0.1:8000:8000"
|
||||
- "127.0.0.1:${APP_PORT:-8000}:8000"
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "python -c \"import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/ready', timeout=3).read()\""]
|
||||
interval: 10s
|
||||
|
||||
Reference in New Issue
Block a user