From 6ff7f4a402b40c4d9b6277406403e54d1deb1cd5 Mon Sep 17 00:00:00 2001 From: Shao Yu Lung Date: Sat, 13 May 2017 22:04:35 +0800 Subject: [PATCH] percona service use DATA_SAVE_PATH env var, same way mysql, mariadb. --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 1a5bbee..92c5d0a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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"