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
+4
-3
@@ -56,8 +56,9 @@ Same host port on every app server for a given site and env. NPM balances
|
||||
`adama:PORT` + `roslin:PORT` + `starbuck:PORT` + `apollo:PORT` + `ai-server-4080:PORT`.
|
||||
|
||||
These are not in the Ansible `host_apps` tables. Do not reuse a port from
|
||||
[IMPLEMENTATION.md](../IMPLEMENTATION.md) (8000–8020 and 8080–8088 are taken;
|
||||
**8020** is `abc_voice`).
|
||||
[IMPLEMENTATION.md](../IMPLEMENTATION.md) (8000–8020, **8023–8024**, and 8080–8088
|
||||
are taken; **8020** is `abc_voice`, **8023/8024** are `disney_hotel_service`).
|
||||
Next WordPress site starts at **8025**.
|
||||
|
||||
| Site | prod port | beta port | prod database | beta database |
|
||||
|------|-----------|-----------|---------------|---------------|
|
||||
@@ -335,7 +336,7 @@ The project name is already in the compose file, so `-p` is optional. The databa
|
||||
Repeat sections 2–8 with the beta column of the table:
|
||||
|
||||
- database `<site>_beta`
|
||||
- port **8022** for relawfirm (next free port for the next site)
|
||||
- port **8022** for relawfirm (next free WordPress port is **8025**; **8023/8024** are `disney_hotel_service`)
|
||||
- its own env file, salts, NFS dataset, compose project, NPM host, and adama cron
|
||||
|
||||
Do not point beta `WORDPRESS_DB_NAME` at the prod database.
|
||||
|
||||
Reference in new issue
Block a user