diff --git a/nextcloud/docker-compose.yaml b/nextcloud/docker-compose.yaml index 371936a..8a50b11 100644 --- a/nextcloud/docker-compose.yaml +++ b/nextcloud/docker-compose.yaml @@ -131,7 +131,7 @@ services: - nextcloud - mariadb healthcheck: - test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"] + test: ["CMD", "mysqladmin" ,"--user" ,"$MYSQL_USER" ,"--password=$MYSQL_PASSWORD" ,"ping" ,"-h" ,"localhost"] interval: 20s timeout: 3s labels: