Skip to content

Commit 11ecbd5

Browse files
authored
Merge pull request #4 from team-MoPlus/develop
[fix] 개발 운영 환경 volume 분리
2 parents 24e05fe + a0135b4 commit 11ecbd5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker-compose-prod.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ services:
2626
ports:
2727
- "3306:3306"
2828
volumes:
29-
- mysql_data_prod:/var/lib/mysql
29+
- prod_data:/var/lib/mysql
3030
networks:
3131
- moplus-prod
3232
volumes:
33-
mysql_data_prod:
33+
prod_data:
3434
driver: local
3535
driver_opts:
3636
o: bind
3737
type: none
38-
device: ./prod_data/mysql_data
38+
device: ${PWD}/prod_data
3939

4040
networks:
4141
moplus-prod:

0 commit comments

Comments
 (0)