Files
server-infra/inventory/host_vars/adama.yml
T
westfarn e8473c2554
Sync runner checkout / sync (pull_request) Successful in 6s
Register monica_site for django deploy (closes #14).
Add app_catalog + host_apps (prod 8004 / beta 8014) on all webservers,
document NPM/Postgres/worker singleton on adama, and list app in deploy.sh.
2026-08-06 15:44:28 -05:00

22 lines
1.1 KiB
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 }
- { name: monica_site, env: prod, port: 8004 }
- { name: monica_site, env: beta, port: 8014 }
# monica_site dj-queue worker (compose --profile worker) runs ONLY on adama.