production docker deployment update
This commit is contained in:
1 parent
11b0ca26a5
commit
ded52d1ece
12 files changed
+616
No files matched your search
@@ -26,6 +26,18 @@ City A/B/C (API+DB) --API key sync--> HQ mirror API+DB --session--> Executive FE
|
||||
| Site `dashboard-cpsp` | `:3001` | `:8000` |
|
||||
| HQ `dashboard-cpsp-executive` | `:3002` | `:8001` |
|
||||
|
||||
## Production (Docker)
|
||||
|
||||
Same Compose layout as the site app. On the HQ host: UI **:80**, API debug **:18001**, Postgres **:15433**.
|
||||
|
||||
```bash
|
||||
cp docker/.env.example .env
|
||||
# set SECRET_KEY, DB_PASSWORD, BOOTSTRAP_ADMIN_PASSWORD
|
||||
docker compose up -d --build
|
||||
```
|
||||
|
||||
See [DOCKER.md](DOCKER.md) for architecture, env vars, cron, and ops commands.
|
||||
|
||||
## Setup
|
||||
|
||||
**Backend**
|
||||
|
||||
Reference in new issue
Block a user