add volume mapping to preserve database changes
This commit is contained in:
1
database/.gitignore
vendored
Normal file
1
database/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
volume/*
|
||||||
@@ -54,3 +54,5 @@ services:
|
|||||||
- MYSQL_PASSWORD
|
- MYSQL_PASSWORD
|
||||||
ports:
|
ports:
|
||||||
- '23306:3306'
|
- '23306:3306'
|
||||||
|
volumes:
|
||||||
|
- ./database/volume/:/var/lib/mysql
|
||||||
Reference in New Issue
Block a user