make sure to only autoheal op web

This commit is contained in:
Markus Kahl
2021-12-21 01:32:20 +00:00
parent 687918e722
commit 5f32ac6b23

View File

@@ -70,10 +70,12 @@ services:
- db - db
- cache - cache
- seeder - seeder
labels:
- autoheal=true
healthcheck: healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health_checks/default"] test: ["CMD", "curl", "-f", "http://localhost:8000/health_checks/default"]
interval: 10s interval: 1s
timeout: 3s timeout: 1s
retries: 3 retries: 3
start_period: 30s start_period: 30s
@@ -82,7 +84,7 @@ services:
volumes: volumes:
- "/var/run/docker.sock:/var/run/docker.sock" - "/var/run/docker.sock:/var/run/docker.sock"
environment: environment:
AUTOHEAL_CONTAINER_LABEL: all AUTOHEAL_CONTAINER_LABEL: autoheal
worker: worker:
<<: *app <<: *app