Improve healthcheck

This commit is contained in:
Matt 2024-08-14 19:33:33 +04:00 committed by GitHub
parent 12c9691bb4
commit 4a89d61a59
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
# documentation: https://docs.budibase.com/
# documentation: https://docs.budibase.com/docs/docker-compose
# slogan: Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MSSQL, MongoDB, Rest API, Docker, K8s, and more.
# tags: budibase,low-code,business-apps,workflow,automation,postgresql,mysql,mssql,mongodb,docker,kubernetes
# logo: svgs/budibase.svg
@ -30,11 +30,11 @@ services:
- worker-service
- redis-service
healthcheck:
test: ["CMD", "curl", "-f", "http://app-service:4002"]
interval: 15s
timeout: 15s
retries: 5
start_period: 10s
test: ["CMD", "curl", "-f", "http://app-service:4002"]
interval: 15s
timeout: 15s
retries: 5
start_period: 10s
worker-service:
restart: unless-stopped
@ -59,11 +59,11 @@ services:
- redis-service
- minio-service
healthcheck:
test: ["CMD", "curl", "-f", "http://worker-service:4003"]
interval: 15s
timeout: 15s
retries: 5
start_period: 10s
test: ["CMD", "curl", "-f", "http://worker-service:4003"]
interval: 15s
timeout: 15s
retries: 5
start_period: 10s
minio-service:
restart: unless-stopped
@ -148,11 +148,11 @@ services:
labels:
- "com.centurylinklabs.watchtower.enable=false"
healthcheck:
test: ["CMD", "curl", "-f", "http://watchtower-service:8080"]
interval: 15s
timeout: 15s
retries: 5
start_period: 10s
test: ["CMD", "curl", "-f", "http://watchtower-service:8080"]
interval: 15s
timeout: 15s
retries: 5
start_period: 10s
volumes:
couchdb3_data:
@ -160,4 +160,4 @@ volumes:
minio_data:
driver: local
redis_data:
driver: local
driver: local