Sync runner checkout / sync (push) Successful in 6s
## Summary - Closes [#33](#33). - Add `scripts/stop.sh` → `playbooks/stop-apps.yml` → `docker compose down` for one `--app` + `--env` (no `-v`; checkouts/secrets stay). - `host_apps.enabled: false` skips deploy (including CI `--app`) so a stopped app cannot come back. Rows stay for ports and `stop.sh`. - Disable `print_forge` beta + prod on all app hosts. After merge (or from this branch): `./scripts/stop.sh --app print_forge --env prod` and `--env beta`. ## Test plan - [ ] `./scripts/stop.sh --help` shows required `--app` / `--env` - [ ] `ansible-playbook playbooks/stop-apps.yml --syntax-check -e app=print_forge -e app_env=prod` - [ ] `./scripts/stop.sh --app print_forge --env prod` compose-downs `print_forge_prod` on all webservers - [ ] `./scripts/stop.sh --app print_forge --env beta` compose-downs `print_forge_beta` (including adama worker) - [ ] `./scripts/deploy.sh --app print_forge --env prod --check` skips disabled rows (does not start containers) - [ ] NPM: `print-forge-preview.aimloperations.com` will 502 until the proxy host is disabled (out of scope) Reviewed-on: #34
31 lines
1.5 KiB
YAML
31 lines
1.5 KiB
YAML
---
|
|
# Mirrors adama for active/active. Ports MUST match adama/starbuck/apollo so
|
|
# NPM upstreams can balance roslin:PORT with the other app hosts.
|
|
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: dta_blog, env: prod, port: 8086 }
|
|
- { name: dta_blog, env: beta, port: 8087 }
|
|
- { 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 }
|
|
# monica_site / college_craft / print_forge workers NOT here — adama sets compose_profiles: [worker].
|
|
- { name: monica_site, env: prod, port: 8004 }
|
|
- { name: monica_site, env: beta, port: 8014 }
|
|
- { name: url_shortening_service, env: prod, port: 8005 }
|
|
- { name: url_shortening_service, env: beta, port: 8015 }
|
|
- { name: college_craft, env: prod, port: 8006 }
|
|
- { name: college_craft, env: beta, port: 8016 }
|
|
- { name: print_forge, env: prod, port: 8007, enabled: false }
|
|
- { name: print_forge, env: beta, port: 8019, enabled: false }
|
|
- { name: abc_be, env: beta, port: 8017 }
|
|
- { name: abc_worker, env: beta, port: 8018 }
|
|
- { name: abc_fe, env: beta, port: 8085 }
|
|
- { name: livekit, env: beta, port: 7880 }
|