Skip to content

Commit 6ff7f4a

Browse files
committed
percona service use DATA_SAVE_PATH env var, same way mysql, mariadb.
1 parent 109e596 commit 6ff7f4a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ services:
214214
- MYSQL_PASSWORD=${PERCONA_PASSWORD}
215215
- MYSQL_ROOT_PASSWORD=${PERCONA_ROOT_PASSWORD}
216216
volumes:
217-
- percona:/var/lib/mysql
217+
- ${DATA_SAVE_PATH}/percona:/var/lib/mysql
218218
- ./percona/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
219219
ports:
220220
- "${PERCONA_PORT}:3306"

0 commit comments

Comments
 (0)