Fix nextcloud db healthcheck
This commit is contained in:
parent
ca48479673
commit
f3bb2bf0db
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ services:
|
||||||
- nextcloud
|
- nextcloud
|
||||||
- mariadb
|
- mariadb
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
|
test: ["CMD", "mysqladmin" ,"--user" ,"$MYSQL_USER" ,"--password=$MYSQL_PASSWORD" ,"ping" ,"-h" ,"localhost"]
|
||||||
interval: 20s
|
interval: 20s
|
||||||
timeout: 3s
|
timeout: 3s
|
||||||
labels:
|
labels:
|
||||||
|
|
Loading…
Reference in a new issue