Files
server-infra/inventory/host_vars/ai-server-4080.yml
T
westfarnandCursor 39b0a9f475
Sync runner checkout / sync (pull_request) Successful in 7s
Register chat_backend for django deploy (chat_backend#6 Part B).
Add app_catalog entry, host_apps on adama/roslin/ai-server-4080 (prod
:8003), and document ports/NPM/Postgres/Ollama for active/active.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 07:03:36 -05:00

31 lines
1.3 KiB
YAML

---
# ai-server-4080 — control node + Gitea act runner. Update IP with:
# ip -4 addr show scope global
ansible_host: 10.0.0.128
ansible_control_node: true
# Deploy/ansible runs on this host; avoid self-SSH (breaks after long tasks / CI keys).
ansible_connection: local
act_runner_enabled: true
# Central Loki + Prometheus + Grafana (roles/observability).
observability_stack: true
# This host's pre-existing ~/.ssh/id_ed25519 is a personal key WITH a passphrase,
# which hangs the (non-BatchMode) gitea access probe. Use a dedicated,
# passphrase-less deploy key here instead.
gitea_key_path: "/home/{{ admin_user }}/.ssh/gitea_deploy"
# 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 }
- { 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 }
- { name: chat_web_app, env: prod, port: 8082 }
# optional: - { name: chat_web_app, env: beta, port: 8083 }
- { name: chat_backend, env: prod, port: 8003 }
# optional: - { name: chat_backend, env: beta, port: 8013 }