fix healthcheck of nextcloud db

This commit is contained in:
Florian Zirker 2024-12-23 15:12:10 +01:00
parent b343d7660d
commit 0587f0e56a

View file

@ -111,9 +111,12 @@ services:
- nextcloud
- mariadb
healthcheck:
test: ["CMD", "mysqladmin" ,"--user" ,"$MYSQL_USER" ,"--password=$MYSQL_PASSWORD" ,"ping" ,"-h" ,"localhost"]
interval: 20s
timeout: 3s
test: [ "CMD", "healthcheck.sh", "--connect", "--innodb_initialized" ]
start_period: 1m
start_interval: 10s
interval: 1m
timeout: 5s
retries: 3
labels:
- "docker.group=netxtcloud"