westfarn f4219e2dca
Sync runner checkout / sync (push) Successful in 6s
Add abc_voice beta container on port 8020 (#39)
## Summary
- Register `abc_voice` as a second container from `GIS/abc_worker` (`docker-compose.voice.yml`), beta port **8020** on adama, roslin, starbuck, apollo, and ai-server-4080.
- Document `https://beta.abc.voice.aimloperations.com` and `~/Documents/secrets/abc_voice/abc_voice_beta.env`. Ansible does not create the NPM host.
- Closes #38.

## Test plan
- [ ] Create the secret file (copy the worker beta env, set `VOICE_ENABLED=true`, Cartesia, and LiveKit) before the first deploy
- [ ] `deploy.sh --app abc_voice --env beta` after the worker compose file is on `Development`
- [ ] NPM: `beta.abc.voice.aimloperations.com` → `:8020` on all five hosts
- [ ] `abc_be` `WORKER_AV_URL=https://beta.abc.voice.aimloperations.com`

Merge this before the abc_worker workflow PR, or that deploy step fails looking up `abc_voice`.

Reviewed-on: #39
2026-09-27 06:12:43 -07:00
2026-07-06 15:34:49 -05:00
2026-07-08 05:59:11 -05:00
2026-07-06 15:34:49 -05:00

server-infra

Ansible provisioning and deployment for homelab web servers.

Quick Start

# Install collections (once)
ansible-galaxy collection install -r requirements.yml

# Bootstrap SSH key to each host (one-time, before Ansible)
ssh-copy-id westfarn@10.0.0.77
ssh-copy-id westfarn@10.0.0.176
ssh-copy-id westfarn@10.0.0.44
ssh-copy-id westfarn@10.0.0.7

# First-time only: passwordless sudo on each new host (before first provision)
ssh -t westfarn@10.0.0.176   # repeat for each host IP
# on the host:
echo 'westfarn ALL=(ALL) NOPASSWD:ALL' | sudo tee /etc/sudoers.d/westfarn
sudo chmod 440 /etc/sudoers.d/westfarn
exit

# Test connectivity to one host
ansible adama -m ping

# Provision one host (dry run first) — includes Alloy log/metrics agent
./scripts/provision.sh adama --check
./scripts/provision.sh adama

# Control node: Alloy + Loki + Prometheus + Grafana
./scripts/provision.sh ai-server-4080

# Provision all hosts
./scripts/provision.sh

# Stop a compose app (does not remove volumes/checkouts)
./scripts/stop.sh --app print_forge --env prod
./scripts/stop.sh --app print_forge --env beta

See IMPLEMENTATION.md for full architecture, CI/CD plan, and phase breakdown.

Observability (Alloy → Loki / Prometheus → Grafana): docs/OBSERVABILITY.md · docs/GRAFANA_USAGE.md

Provision installs Alloy on every host. On ai-server-4080 it also starts the central Loki / Prometheus / Grafana stack (observability_stack: true).

Servers

Host IP Role
adama 10.0.0.77 app host
roslin 10.0.0.176 app host
starbuck 10.0.0.44 app host
apollo 10.0.0.7 app host
ai-server-4080 10.0.0.128 control node + act runner
S
Description
No description provided
Readme
576 KiB
0 Stars 2 Watchers 0 Forks
Languages
Jinja 69%
Shell 31%