Sync compose with VPS deployment and trigger Watchtower on image push
Build and Push agentchat Image / quality (push) Successful in 32s
Build and Push agentchat Image / build-image (push) Successful in 10s

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.
This commit is contained in:
Gabriel Brown
2026-08-13 09:23:22 -04:00
parent 377a6472a9
commit 0564e34372
3 changed files with 20 additions and 18 deletions
+10 -8
View File
@@ -1,18 +1,20 @@
# Deployed copy lives at junior.gib:~/Server/Agentchat/compose.yml — keep in sync.
networks:
nginx-bridge:
external: true
external: true # ALWAYS external; see the VPS ~/Server/AGENTS.md §5
services:
agentchat:
image: git.gbrown.org/gib/agentchat:${TAG:-latest}
container_name: ${CONTAINER_NAME:-agentchat}
hostname: ${CONTAINER_NAME:-agentchat}
domainname: ${DOMAIN:-agentchat.gbrown.org}
networks: ['${NETWORK:-nginx-bridge}']
#ports: ['${PORT:-8080}:8080']
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']
volumes:
- ./data:/data:Z # :Z mandatory under SELinux Enforcing; see AGENTS.md §6
labels: ['com.centurylinklabs.watchtower.enable=true']
restart: unless-stopped
healthcheck: