Register disney_hotel_service for beta and prod deploy (#48)
Sync runner checkout / sync (push) Successful in 7s
Sync runner checkout / sync (push) Successful in 7s
## Summary - Closes #47. - Register `disney_hotel_service` (`DisneyHotel/disney_hotel_service`, branch `master`) for beta and prod on all five webservers. - Prod port **8023**, beta port **8024** (8021/8022 stay WordPress `relawfirm`). Alert worker profile only on adama. - Document Postgres databases `disney_hotel_service` / `disney_hotel_service_beta`, NPM hosts, and the control-node secret layout. This app reads `POSTGRES_*`, not `DATABASE_URL`. ## Test plan - [ ] `disney_hotel_service` is in `app_catalog` and `./scripts/deploy.sh --help` lists it - [ ] All five hosts have prod **8023** and beta **8024**; only adama sets `compose_profiles: [worker]` - [ ] After merge (ops): create both databases on `10.0.0.230` and grant `westfarn` - [ ] After merge (ops): write `~/Documents/secrets/disney_hotel_service/disney_hotel_service_{prod,beta}.env` (mode 600) - [ ] After merge (ops): NPM `disneyhotel.app` (+ www) → `:8023`, `beta.disneyhotel.app` → `:8024` - [ ] Deploy waits on `docker-compose.prod.yml` in the app repo (no bundled db, `${WEB_PORT}:8000`, worker profile `worker`) Reviewed-on: #48
This commit was merged in pull request #48.
This commit is contained in:
1 parent
333d583ccd
commit
578b749ac5
10 files changed
+77
-16
No files matched your search
@@ -104,8 +104,9 @@
|
||||
- _legacy_systemd_probe.stdout | default('') | length > 0
|
||||
|
||||
# Optional host_apps.compose_profiles (e.g. [worker]) activates compose profiles
|
||||
# on this host only. Used for monica_site / college_craft / print_forge dj-queue singleton on
|
||||
# adama — without it, plain up --remove-orphans can drop a manually started worker.
|
||||
# on this host only. Used for monica_site / college_craft / print_forge /
|
||||
# disney_hotel_service worker singleton on adama — without it, plain up
|
||||
# --remove-orphans can drop a manually started worker.
|
||||
- name: "django[{{ _project }}] start containers"
|
||||
ansible.builtin.command:
|
||||
cmd: "docker compose -f {{ _spec.compose_file }} --env-file .env up -d --remove-orphans"
|
||||
|
||||
Reference in new issue
Block a user