Sync runner checkout / sync (push) Successful in 7s
## Summary Implements [#7](#7): register **beta** workloads for `chat_backend` and `chat_web_app`, matching the existing `dta_service` / `dta_webapp` pattern. - Enable `host_apps` beta entries on **adama**, **roslin**, and **ai-server-4080** (`chat_backend` **8013**, `chat_web_app` **8083**) - Update `IMPLEMENTATION.md` apps / ports / NPM / roadmap tables for chat beta + prod - Prod chat entries unchanged ## Ops follow-ups (outside this PR) - Create Postgres DB `chat_backend_beta` + grant `westfarn` - Add `~/Documents/secrets/chat_backend/chat_backend_beta.env` (mode 600) - NPM: `beta.chat.aimloperations.com` → `*:8083`; `beta.chatbackend.aimloperations.com` → `*:8013` - Smoke: `./scripts/deploy.sh --app chat_backend --env beta --ref <sha>` and same for `chat_web_app` Companion app tickets: [chat_backend#26](ai_ml_operations/chat_backend#26), [chat_web_app#35](ai_ml_operations/chat_web_app#35) ## Test plan - [ ] Confirm beta rows present in all three `host_vars` - [ ] After merge + ops setup: deploy beta for both apps succeeds - [ ] Prod chat deploys still work on 8003 / 8082 - [ ] NPM beta domains route to 8013 / 8083Reviewed-on: #8
19 lines
924 B
YAML
19 lines
924 B
YAML
---
|
|
# Django services run active/active here and on roslin (shared external DB).
|
|
# dta_webapp static also runs active/active (built into /var/www, served by
|
|
# the web-static nginx container). Ports MUST match roslin so NPM can balance.
|
|
# Each entry is one workload: django -> compose project <name>_<env> on port;
|
|
# node-static -> /var/www/<env>_dta_webapp served on port.
|
|
host_apps:
|
|
- { name: company_site, env: prod, port: 8000 }
|
|
- { name: dta_service, env: prod, port: 8001 }
|
|
- { name: dta_service, env: beta, port: 8011 }
|
|
- { name: dta_webapp, env: prod, port: 8080 }
|
|
- { name: dta_webapp, env: beta, port: 8081 }
|
|
- { name: scha, env: prod, port: 8002 }
|
|
# optional: - { name: scha, env: beta, port: 8012 }
|
|
- { name: chat_web_app, env: prod, port: 8082 }
|
|
- { name: chat_web_app, env: beta, port: 8083 }
|
|
- { name: chat_backend, env: prod, port: 8003 }
|
|
- { name: chat_backend, env: beta, port: 8013 }
|