Merge pull request #938 from bestlong/percona-use-data-save-path

Percona service use DATA_SAVE_PATH env var
This commit is contained in:
Yu-Lung Shao (Allen) 2017-05-13 10:00:33 -05:00 committed by GitHub
commit c85fd97e00

View File

@ -214,7 +214,7 @@ services:
- MYSQL_PASSWORD=${PERCONA_PASSWORD}
- MYSQL_ROOT_PASSWORD=${PERCONA_ROOT_PASSWORD}
volumes:
- percona:/var/lib/mysql
- ${DATA_SAVE_PATH}/percona:/var/lib/mysql
- ./percona/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
ports:
- "${PERCONA_PORT}:3306"