percona service use DATA_SAVE_PATH env var, same way mysql, mariadb.
This commit is contained in:
parent
109e596417
commit
6ff7f4a402
@ -214,7 +214,7 @@ services:
|
|||||||
- MYSQL_PASSWORD=${PERCONA_PASSWORD}
|
- MYSQL_PASSWORD=${PERCONA_PASSWORD}
|
||||||
- MYSQL_ROOT_PASSWORD=${PERCONA_ROOT_PASSWORD}
|
- MYSQL_ROOT_PASSWORD=${PERCONA_ROOT_PASSWORD}
|
||||||
volumes:
|
volumes:
|
||||||
- percona:/var/lib/mysql
|
- ${DATA_SAVE_PATH}/percona:/var/lib/mysql
|
||||||
- ./percona/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
- ./percona/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
||||||
ports:
|
ports:
|
||||||
- "${PERCONA_PORT}:3306"
|
- "${PERCONA_PORT}:3306"
|
||||||
|
Loading…
Reference in New Issue
Block a user