Skip to content

Commit c8e3f57

Browse files
committed
feat: Make volumes path and folder name dynamic in Docker Compose file
1 parent aec18da commit c8e3f57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mysql/docker-compose.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ services:
88
ports:
99
- 3307:3306
1010
volumes:
11-
- $HOME/core/docker/database/mysql/d_mysql_db/conf.d:/etc/mysql/conf.d
12-
- $HOME/core/docker/database/mysql/data:/var/lib/mysql
11+
- ${CONF_DIR}:/etc/mysql/conf.d
12+
- ${DATA_DIR}:/var/lib/mysql

0 commit comments

Comments
 (0)