Register print_forge for django deploy (closes #27) #28

Merged
westfarn merged 1 commits from issue-27-print-forge into master 2026-09-06 06:35:49 -07:00
Owner

Summary

  • Closes #27.
  • Register print_forge in app_catalog (type: django, repo ai_ml_operations/print_forge, default branch master).
  • Add host_apps prod :8007 / beta :8019 on adama, roslin, starbuck, apollo, and ai-server-4080.
  • dj-queue worker singleton on adama only (compose_profiles: [worker]); other hosts web-only.
  • Document ports, NPM hosts, Postgres DBs, secrets, Nominatim (10.0.0.128:8089), and the app-repo companion (print_forge#1).
  • Update scripts/deploy.sh --app help.
  • Move unused abc_be prod port reserve 8007 → 8009 so it does not collide with print_forge.

Test plan

  • Confirm print_forge appears in app_catalog and --app print_forge is listed in deploy.sh --help
  • Confirm beta host_apps on all five hosts (port 8019); adama has compose_profiles: [worker]
  • Confirm prod port 8007 reserved on those hosts (no NPM until launch)
  • After merge (ops, not this PR): create Postgres DBs print_forge_beta + print_forge on 10.0.0.230, grant westfarn
  • After merge (ops): write ~/Documents/secrets/print_forge/print_forge_{beta,prod}.env from app .env.prod.example; add print_forge:<token> to SHORTENER_API_TOKENS (beta first)
  • After merge (ops): NPM print-forge-preview.aimloperations.com:8019 active/active; do not NPM-route printforgeprints.com until launch
  • After secrets + DBs: ~/Documents/repos/server-infra/scripts/deploy.sh --app print_forge --env beta --ref master and hit /healthz/
## Summary - Closes [#27](https://git.aimloperations.com/ai_ml_operations/server-infra/issues/27). - Register `print_forge` in `app_catalog` (`type: django`, repo `ai_ml_operations/print_forge`, default branch `master`). - Add `host_apps` prod `:8007` / beta `:8019` on **adama**, **roslin**, **starbuck**, **apollo**, and **ai-server-4080**. - dj-queue **worker singleton on adama** only (`compose_profiles: [worker]`); other hosts web-only. - Document ports, NPM hosts, Postgres DBs, secrets, Nominatim (`10.0.0.128:8089`), and the app-repo companion ([print_forge#1](https://git.aimloperations.com/ai_ml_operations/print_forge/issues/1)). - Update `scripts/deploy.sh` `--app` help. - Move unused `abc_be` prod port reserve **8007 → 8009** so it does not collide with `print_forge`. ## Test plan - [ ] Confirm `print_forge` appears in `app_catalog` and `--app print_forge` is listed in `deploy.sh --help` - [ ] Confirm beta `host_apps` on all five hosts (port **8019**); adama has `compose_profiles: [worker]` - [ ] Confirm prod port **8007** reserved on those hosts (no NPM until launch) - [ ] After merge (ops, not this PR): create Postgres DBs `print_forge_beta` + `print_forge` on `10.0.0.230`, grant `westfarn` - [ ] After merge (ops): write `~/Documents/secrets/print_forge/print_forge_{beta,prod}.env` from app `.env.prod.example`; add `print_forge:<token>` to `SHORTENER_API_TOKENS` (beta first) - [ ] After merge (ops): NPM `print-forge-preview.aimloperations.com` → `:8019` active/active; do **not** NPM-route `printforgeprints.com` until launch - [ ] After secrets + DBs: `~/Documents/repos/server-infra/scripts/deploy.sh --app print_forge --env beta --ref master` and hit `/healthz/`
westfarn added 1 commit 2026-09-06 06:32:29 -07:00
Register print_forge for django deploy (closes #27)
Sync runner checkout / sync (pull_request) Successful in 7s
695dace1ec
Catalog + host_apps (prod 8007 / beta 8019) with dj-queue worker singleton on adama. Unused abc_be prod reserve moves to 8009.
westfarn merged commit 2abcdd7c58 into master 2026-09-06 06:35:49 -07:00
westfarn deleted branch issue-27-print-forge 2026-09-06 06:35:49 -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#28