Register monica_site for django deploy (closes #14) #15

Merged
westfarn merged 1 commits from issue-14-register-monica-site into master 2026-08-06 13:46:00 -07:00
Owner

Summary

  • Closes #14.
  • Register monica_site in app_catalog (type: django, repo ai_ml_operations/monica_site, default branch main) and host_apps on adama, roslin, and ai-server-4080 (prod 8004, beta 8014).
  • Document NPM (mkdrealtor.com / monica-preview.aimloperations.com), Postgres DBs (monica_site / monica_site_beta), and dj-queue worker singleton on adama only (compose --profile worker).
  • List monica_site in scripts/deploy.sh --app help.

Out of scope (manual ops)

  • Create Postgres DBs + grants on 10.0.0.230
  • Control-node secrets under ~/Documents/secrets/monica_site/
  • NPM proxy hosts (Ryan)
  • First deploy smoke + worker start on adama

Test plan

  • Confirm inventory YAML parses (ansible-inventory --list or dry deploy)
  • Create DBs monica_site / monica_site_beta + secrets before smoke deploy
  • ./scripts/deploy.sh --app monica_site --env beta --ref main
  • ./scripts/deploy.sh --app monica_site --env prod --ref main
  • On adama only: docker compose -f docker-compose.prod.yml --profile worker up -d
  • Hit /healthz/ on beta + prod; prod under-construction holding page
## Summary - Closes [#14](https://git.aimloperations.com/ai_ml_operations/server-infra/issues/14). - Register `monica_site` in `app_catalog` (`type: django`, repo `ai_ml_operations/monica_site`, default branch `main`) and `host_apps` on **adama**, **roslin**, and **ai-server-4080** (prod **8004**, beta **8014**). - Document NPM (`mkdrealtor.com` / `monica-preview.aimloperations.com`), Postgres DBs (`monica_site` / `monica_site_beta`), and **dj-queue worker singleton on adama** only (`compose --profile worker`). - List `monica_site` in `scripts/deploy.sh` `--app` help. ## Out of scope (manual ops) - Create Postgres DBs + grants on `10.0.0.230` - Control-node secrets under `~/Documents/secrets/monica_site/` - NPM proxy hosts (Ryan) - First deploy smoke + worker start on adama ## Test plan - [ ] Confirm inventory YAML parses (`ansible-inventory --list` or dry deploy) - [ ] Create DBs `monica_site` / `monica_site_beta` + secrets before smoke deploy - [ ] `./scripts/deploy.sh --app monica_site --env beta --ref main` - [ ] `./scripts/deploy.sh --app monica_site --env prod --ref main` - [ ] On **adama** only: `docker compose -f docker-compose.prod.yml --profile worker up -d` - [ ] Hit `/healthz/` on beta + prod; prod under-construction holding page
westfarn added 1 commit 2026-08-06 13:44:43 -07:00
Register monica_site for django deploy (closes #14).
Sync runner checkout / sync (pull_request) Successful in 6s
e8473c2554
Add app_catalog + host_apps (prod 8004 / beta 8014) on all webservers,
document NPM/Postgres/worker singleton on adama, and list app in deploy.sh.
westfarn merged commit cc503988c0 into master 2026-08-06 13:46:00 -07:00
westfarn deleted branch issue-14-register-monica-site 2026-08-06 13:46:00 -07:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ai_ml_operations/server-infra#15