Files
agentchat/docker/compose.yml
T
Gabriel Brown 0564e34372
Build and Push agentchat Image / quality (push) Successful in 32s
Build and Push agentchat Image / build-image (push) Successful in 10s
Sync compose with VPS deployment and trigger Watchtower on image push
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.
2026-08-13 09:23:22 -04:00

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