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