--- # 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 _ on port; # node-static -> /var/www/_dta_webapp served on port. host_apps: - { name: company_site, env: prod, port: 8000 } - { name: company_site, env: beta, port: 8010 } - { 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 }