[Compose] Reduce interval of healthcheck to not wait 3 minutes for a healthy state...
This commit is contained in:
parent
afc8c93c07
commit
cf594fbabd
@ -10,7 +10,7 @@ services:
|
|||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "nslookup", "mailcow.email", "127.0.0.1"]
|
test: ["CMD", "nslookup", "mailcow.email", "127.0.0.1"]
|
||||||
interval: 120s
|
interval: 30s
|
||||||
timeout: 7s
|
timeout: 7s
|
||||||
retries: 10
|
retries: 10
|
||||||
volumes:
|
volumes:
|
||||||
@ -27,7 +27,7 @@ services:
|
|||||||
command: mysqld --max_allowed_packet=128M
|
command: mysqld --max_allowed_packet=128M
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "mysqladmin", "ping", "--host", "localhost", "--silent"]
|
test: ["CMD", "mysqladmin", "ping", "--host", "localhost", "--silent"]
|
||||||
interval: 60s
|
interval: 10s
|
||||||
timeout: 7s
|
timeout: 7s
|
||||||
retries: 10
|
retries: 10
|
||||||
volumes:
|
volumes:
|
||||||
|
Loading…
Reference in New Issue
Block a user