fix: remove curl healthcheck (not in slim image), simplify depends_on

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-29 20:46:47 +02:00
parent 8cecdfa4c2
commit 407ac504b8

View File

@@ -9,15 +9,9 @@ services:
- DATABASE_URL=sqlite:/data/colony.db?mode=rwc - DATABASE_URL=sqlite:/data/colony.db?mode=rwc
volumes: volumes:
- colony_data:/data - colony_data:/data
# No ports exposed — Caddy reverse proxies on internal network
expose: expose:
- "3001" - "3001"
restart: always restart: always
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3001/api/health"]
interval: 10s
timeout: 3s
retries: 3
caddy: caddy:
image: caddy:2.11 image: caddy:2.11
@@ -31,8 +25,7 @@ services:
- caddy_config:/config - caddy_config:/config
restart: always restart: always
depends_on: depends_on:
colony: - colony
condition: service_healthy
volumes: volumes:
colony_data: colony_data: