Docker db volume - db-learnsteam

This commit is contained in:
JongYeob Sheen 2023-11-18 13:09:34 +09:00
parent 8fdf6b42e2
commit 942f1efc40
3 changed files with 5 additions and 5 deletions

View File

@ -9,7 +9,7 @@ services:
ports:
- "33061:3306"
volumes:
- db-learnsteam-dev:/var/lib/mysql
- db-learnsteam:/var/lib/mysql
app:
build:
context: ../../
@ -27,4 +27,4 @@ services:
- db
restart: always
volumes:
db-learnsteam-dev:
db-learnsteam:

View File

@ -9,7 +9,7 @@ services:
ports:
- "3306:3306"
volumes:
- db-learnsteam-local:/var/lib/mysql
- db-learnsteam:/var/lib/mysql
app:
build:
context: ../../
@ -27,4 +27,4 @@ services:
DB_NAME: learnsteam_quiz
restart: always
volumes:
db-learnsteam-local:
db-learnsteam:

View File

@ -27,4 +27,4 @@ services:
- db
restart: always
volumes:
db-learnsteam-dev:
db-learnsteam: