mirror of
https://github.com/PAPAMICA/docker-compose-collection.git
synced 2026-03-18 21:30:41 +01:00
Update mariadb.yml (#22)
Breaking change in latest version of MariaDB server utilities. They don't support mysql command prefix, just mariadb command prefix. example: mysqladmin -> mariadb-admin
This commit is contained in:
@@ -38,7 +38,7 @@ services:
|
||||
- MYSQL_PASSWORD=$DB_PASSWORD
|
||||
#- REMOTE_SQL=http://URL1/your.sql,https://URL2/your.sql
|
||||
healthcheck:
|
||||
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
|
||||
test: ["CMD", "mariadb-admin" ,"ping", "-h", "localhost"]
|
||||
timeout: 20s
|
||||
retries: 10
|
||||
labels:
|
||||
@@ -48,4 +48,4 @@ services:
|
||||
networks:
|
||||
default:
|
||||
external:
|
||||
name: $NETWORK
|
||||
name: $NETWORK
|
||||
|
||||
Reference in New Issue
Block a user