add volume mapping to preserve database changes

This commit is contained in:
GotPPay
2018-08-30 23:08:59 +02:00
parent ff4430e503
commit 4ee23fba3f
2 changed files with 3 additions and 0 deletions

1
database/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
volume/*

View File

@@ -54,3 +54,5 @@ services:
- MYSQL_PASSWORD
ports:
- '23306:3306'
volumes:
- ./database/volume/:/var/lib/mysql