Files
server-infra/inventory/host_vars/adama.yml
T

13 lines
628 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 }