mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2025-12-31 19:47:25 +01:00
Default timing configuration for healthcheck should be sufficient
This commit is contained in:
13
debian/docker-compose.yml
vendored
13
debian/docker-compose.yml
vendored
@@ -48,7 +48,6 @@ services:
|
|||||||
<<: *volumes
|
<<: *volumes
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "pgrep", "-f", "queue:work"]
|
test: ["CMD", "pgrep", "-f", "queue:work"]
|
||||||
start_period: 10s
|
|
||||||
depends_on:
|
depends_on:
|
||||||
app:
|
app:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
@@ -65,7 +64,6 @@ services:
|
|||||||
<<: *volumes
|
<<: *volumes
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "pgrep", "-f", "schedule:work"]
|
test: ["CMD", "pgrep", "-f", "schedule:work"]
|
||||||
start_period: 10s
|
|
||||||
depends_on:
|
depends_on:
|
||||||
app:
|
app:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
@@ -91,9 +89,6 @@ services:
|
|||||||
"-u${MYSQL_USER}",
|
"-u${MYSQL_USER}",
|
||||||
"-p${MYSQL_PASSWORD}",
|
"-p${MYSQL_PASSWORD}",
|
||||||
]
|
]
|
||||||
interval: 10s
|
|
||||||
timeout: 5s
|
|
||||||
retries: 5
|
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
@@ -102,12 +97,9 @@ services:
|
|||||||
- redis_data:/data
|
- redis_data:/data
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "redis-cli", "ping"]
|
test: ["CMD", "redis-cli", "ping"]
|
||||||
interval: 10s
|
|
||||||
timeout: 5s
|
|
||||||
retries: 5
|
|
||||||
|
|
||||||
# mariadb:
|
# mariadb:
|
||||||
# image: mariadb:11.4
|
# image: mariadb:11.8
|
||||||
# restart: unless-stopped
|
# restart: unless-stopped
|
||||||
# environment:
|
# environment:
|
||||||
# MARIADB_DATABASE: ${DB_DATABASE}
|
# MARIADB_DATABASE: ${DB_DATABASE}
|
||||||
@@ -118,7 +110,6 @@ services:
|
|||||||
# - mariadb:/var/lib/mysql
|
# - mariadb:/var/lib/mysql
|
||||||
# healthcheck:
|
# healthcheck:
|
||||||
# test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
|
# test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
|
||||||
# start_period: 60s
|
|
||||||
|
|
||||||
# valkey:
|
# valkey:
|
||||||
# image: valkey/valkey:8
|
# image: valkey/valkey:8
|
||||||
@@ -127,7 +118,7 @@ services:
|
|||||||
# - valkey:/data
|
# - valkey:/data
|
||||||
# healthcheck:
|
# healthcheck:
|
||||||
# test: [ "CMD", "valkey-cli", "ping" ]
|
# test: [ "CMD", "valkey-cli", "ping" ]
|
||||||
# start_period: 10s
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
app_storage:
|
app_storage:
|
||||||
|
|||||||
Reference in New Issue
Block a user