Skip to content

Commit a0135b4

Browse files
committed
[fix] 개발 운영 환경 volume 분리
1 parent c6b82d6 commit a0135b4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker-compose-prod.yml

+3-3
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)