fix: remove service_healthy condition unsupported by podman 4.3.1
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 11s

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-13 16:01:08 -05:00
parent 4e6930c207
commit 059ba8f778

View File

@@ -8,8 +8,9 @@ services:
- ./Caddyfile:/etc/caddy/Caddyfile:ro - ./Caddyfile:/etc/caddy/Caddyfile:ro
- caddy-data:/data - caddy-data:/data
depends_on: depends_on:
app: - app
condition: service_healthy networks:
- sneakyswole
restart: unless-stopped restart: unless-stopped
app: app:
@@ -21,6 +22,8 @@ services:
- sneakyswole-data:/app/data - sneakyswole-data:/app/data
env_file: env_file:
- .env - .env
networks:
- sneakyswole
restart: unless-stopped restart: unless-stopped
healthcheck: healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')"] test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')"]
@@ -29,6 +32,10 @@ services:
retries: 3 retries: 3
start_period: 10s start_period: 10s
networks:
sneakyswole:
driver: bridge
volumes: volumes:
sneakyswole-data: sneakyswole-data:
driver: local driver: local