The deployed compose (SELinux :Z, TZ, healthcheck, watchtower label) now lives in the repo as the source of truth, and CI asks the VPS Watchtower API to deploy immediately after pushing instead of waiting for the nightly sweep.
24 lines
784 B
YAML
24 lines
784 B
YAML
# Deployed copy lives at junior.gib:~/Server/Agentchat/compose.yml — keep in sync.
|
|
networks:
|
|
nginx-bridge:
|
|
external: true # ALWAYS external; see the VPS ~/Server/AGENTS.md §5
|
|
|
|
services:
|
|
agentchat:
|
|
image: git.gbrown.org/gib/agentchat:latest
|
|
container_name: agentchat
|
|
hostname: agentchat
|
|
domainname: agentchat.gbrown.org
|
|
networks: ['nginx-bridge']
|
|
environment:
|
|
- TZ=America/New_York
|
|
- AGENTCHAT_DB=/data/agentchat.db
|
|
volumes:
|
|
- ./data:/data:Z # :Z mandatory under SELinux Enforcing; see AGENTS.md §6
|
|
labels: ['com.centurylinklabs.watchtower.enable=true']
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: wget -qO- http://localhost:8080/healthz || exit 1
|
|
interval: 30s
|
|
start_period: 10s
|