Register scha for deploy on all webservers (Part B of scha#19).
Sync runner checkout / sync (pull_request) Successful in 6s

Add scha to app_catalog and host_apps (prod :8002), and document beta/prod ports, Postgres DBs, and NPM backends for every app.
This commit is contained in:
2026-07-14 05:02:29 -05:00
parent d9d2dc246a
commit 5fb23229fb
6 changed files with 43 additions and 15 deletions
+7
View File
@@ -80,6 +80,13 @@ app_catalog:
webroot_pattern: "/var/www/{env}.app.ditchtheagent/html"
# deploy runs `npm ci` then `npm run build:<env>`; that script writes to
# {{ web_static_root }}/<env>_dta_webapp (beta/prod), served by web-static.
scha:
type: django
repo: "{{ git_base_url }}/ai_ml_operations/scha.git"
default_branch: master
compose_file: docker-compose.prod.yml
web_service: web
migrate_cmd: "uv run python manage.py migrate --noinput"
# Deploy filter vars. CI passes these; manual runs may leave them undefined
# to (re)deploy every app listed in the host's host_apps.
+2
View File
@@ -10,3 +10,5 @@ host_apps:
- { 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 }
+1
View File
@@ -24,3 +24,4 @@ host_apps:
- { name: dta_webapp, env: beta, port: 8081 }
- { name: dta_service, env: prod, port: 8001 }
- { name: dta_service, env: beta, port: 8011 }
- { name: scha, env: prod, port: 8002 }
+2
View File
@@ -7,3 +7,5 @@ host_apps:
- { 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 }