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
1 changed files with 1 additions and 1 deletions

View File

@ -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"