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