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
31 lines
1.3 KiB
YAML
31 lines
1.3 KiB
YAML
---
|
|
# ai-server-4080 — control node + Gitea act runner. Update IP with:
|
|
# ip -4 addr show scope global
|
|
ansible_host: 10.0.0.128
|
|
|
|
ansible_control_node: true
|
|
# Deploy/ansible runs on this host; avoid self-SSH (breaks after long tasks / CI keys).
|
|
ansible_connection: local
|
|
act_runner_enabled: true
|
|
|
|
# Central Loki + Prometheus + Grafana (roles/observability).
|
|
observability_stack: true
|
|
|
|
# This host's pre-existing ~/.ssh/id_ed25519 is a personal key WITH a passphrase,
|
|
# which hangs the (non-BatchMode) gitea access probe. Use a dedicated,
|
|
# passphrase-less deploy key here instead.
|
|
gitea_key_path: "/home/{{ admin_user }}/.ssh/gitea_deploy"
|
|
|
|
# company_site + dta_webapp + dta_service for side testing and active/active.
|
|
# Ports MUST match adama/roslin so NPM can balance all three upstreams.
|
|
host_apps:
|
|
- { name: company_site, env: prod, port: 8000 }
|
|
- { name: dta_webapp, env: prod, port: 8080 }
|
|
- { name: dta_webapp, env: beta, port: 8081 }
|
|
- { name: dta_service, env: prod, port: 8001 }
|
|
- { name: dta_service, env: beta, port: 8011 }
|
|
- { name: scha, env: prod, port: 8002 }
|
|
- { 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 } |