[Compose] Reduce interval of healthcheck to not wait 3 minutes for a healthy state...

master
andryyy 2017-07-01 23:20:45 +02:00
parent afc8c93c07
commit cf594fbabd
1 changed files with 3 additions and 3 deletions

View File

@ -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:
@ -299,7 +299,7 @@ services:
- 172.22.1.254 - 172.22.1.254
dns_search: mailcow-network dns_search: mailcow-network
environment: environment:
- ADDITIONAL_SAN=${ADDITIONAL_SAN:-} - ADDITIONAL_SAN=${ADDITIONAL_SAN:- }
- MAILCOW_HOSTNAME=${MAILCOW_HOSTNAME} - MAILCOW_HOSTNAME=${MAILCOW_HOSTNAME}
- DBNAME=${DBNAME} - DBNAME=${DBNAME}
- DBUSER=${DBUSER} - DBUSER=${DBUSER}