Stop legacy dta_service systemd units before Docker deploy (#52).
ai-server-4080 runs dta_service active/active with adama and roslin. Disable beta_dta_wsgi/prod_dta_wsgi so port 8001/8011 are free for compose. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -54,6 +54,10 @@ app_catalog:
|
||||
compose_file: docker-compose.prod.yml
|
||||
web_service: web
|
||||
migrate_cmd: "uv run python manage.py migrate --noinput"
|
||||
# Pre-docker deploy used venv + systemd on each host; stop before compose up.
|
||||
legacy_systemd_units:
|
||||
beta: beta_dta_wsgi
|
||||
prod: prod_dta_wsgi
|
||||
dta_webapp:
|
||||
type: node-static
|
||||
repo: "{{ git_base_url }}/Ditch_The_Agent/dta_webapp.git"
|
||||
|
||||
@@ -13,7 +13,8 @@ act_runner_enabled: true
|
||||
# passphrase-less deploy key here instead.
|
||||
gitea_key_path: "/home/{{ admin_user }}/.ssh/gitea_deploy"
|
||||
|
||||
# company_site prod runs here for side testing.
|
||||
# company_site + dta_webapp + dta_service for side testing and active/active.
|
||||
# Ports MUST match adama/roslin so NPM can balance all three upstreams.
|
||||
host_apps:
|
||||
- { name: company_site, env: prod, port: 8000 }
|
||||
- { name: dta_webapp, env: prod, port: 8080 }
|
||||
|
||||
Reference in New Issue
Block a user