added healthcheck
This commit is contained in:
parent
40de85a1ff
commit
9e211712a4
@ -8,6 +8,12 @@ services:
|
|||||||
- MARIADB_USER=${MARIADB_USER}
|
- MARIADB_USER=${MARIADB_USER}
|
||||||
- MARIADB_PASSWORD=${MARIADB_PASSWORD}
|
- MARIADB_PASSWORD=${MARIADB_PASSWORD}
|
||||||
- MARIADB_DATABASE=${MARIADB_DATABASE}
|
- MARIADB_DATABASE=${MARIADB_DATABASE}
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
|
||||||
|
start_period: 5s
|
||||||
|
interval: 3s
|
||||||
|
timeout: 3s
|
||||||
|
retries: 3
|
||||||
labels:
|
labels:
|
||||||
### Section Diun
|
### Section Diun
|
||||||
- diun.enable=${DIUN_ENABLE}
|
- diun.enable=${DIUN_ENABLE}
|
||||||
|
Loading…
Reference in New Issue
Block a user