mirror of
https://github.com/opf/openproject-deploy.git
synced 2026-02-14 16:59:51 +00:00
make sure to only autoheal op web
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user