Merge pull request #3271 from Accelfish/fix-compose-mariadb

fix docker-compose.yml mariadb volumes
This commit is contained in:
Shao Yu-Lung (Allen) 2023-03-30 09:19:10 +08:00 committed by GitHub
commit 51f2b991f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -599,7 +599,7 @@ services:
- no_proxy - no_proxy
- MARIADB_VERSION=${MARIADB_VERSION} - MARIADB_VERSION=${MARIADB_VERSION}
volumes: volumes:
- ${DATA_PATH_HOST}/mariadb:/var/lib/mysql - ${DATA_PATH_HOST}/mariadb:/var/lib/mariadb
- ${MARIADB_ENTRYPOINT_INITDB}:/docker-entrypoint-initdb.d - ${MARIADB_ENTRYPOINT_INITDB}:/docker-entrypoint-initdb.d
ports: ports:
- "${MARIADB_PORT}:3306" - "${MARIADB_PORT}:3306"