Merge pull request #938 from bestlong/percona-use-data-save-path
Percona service use DATA_SAVE_PATH env var
This commit is contained in:
commit
c85fd97e00
|
@ -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