Sync runner checkout / sync (push) Successful in 6s
## Summary - Closes [#22](#22). - Register `url_shortening_service` in `app_catalog` (`type: django`, repo `ai_ml_operations/url_shortening_service`, default branch `master`) and `host_apps` on **adama**, **roslin**, **starbuck**, **apollo**, and **ai-server-4080** (prod **8005**, beta **8015**). - Document NPM (short host vs API host, same container), Postgres DBs (`url_shortener` / `url_shortener_beta`), and extra env keys. No compose worker profile. - List `url_shortening_service` in `scripts/deploy.sh` `--app` help. ## Out of scope (manual ops) - Create Postgres DBs `url_shortener` / `url_shortener_beta` + grant `westfarn` on `10.0.0.230` - Control-node secrets under `~/Documents/secrets/url_shortening_service/` - NPM proxy hosts (Ryan): short host `/` + `/[a-z0-9]{4,8}` (404 `/api/`, `/admin/`, `/debug/`); API host `/api/` only (404 `/admin/`) - Deploy smoke — [url_shortening_service](https://git.aimloperations.com/ai_ml_operations/url_shortening_service) `master` is still a stub (`README.md` only) ## Test plan - [x] Inventory YAML: `url_shortening_service` in `app_catalog`; every host `host_apps` has prod **8005** / beta **8015** - [ ] After app compose + secrets + DBs exist: `./scripts/deploy.sh --app url_shortening_service --env beta --ref master` - [ ] Same for prod - [ ] `GET /healthz/` → `{"status":"ok"}` on both ports - [ ] Short host `GET /` landing page; `POST /api/links/` without Bearer → 401; public `/admin/` → 404 Reviewed-on: #23
21 lines
995 B
YAML
21 lines
995 B
YAML
---
|
|
# Mirrors roslin for active/active. Ports MUST match adama/roslin so NPM
|
|
# upstreams can balance starbuck: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: 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 worker NOT here — adama host_apps 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 }
|