forked from nathalie/pedi2
db persiste
This commit is contained in:
parent
7ebeccd269
commit
bcbcf05c3f
|
@ -33,6 +33,7 @@ services:
|
|||
volumes:
|
||||
- ./mysql/my.cnf:/etc/mysql/my.cnf
|
||||
- ./mysql/docker-entrypoint-initdb.d/:/docker-entrypoint-initdb.d/
|
||||
- dbdata:/var/lib/mysql
|
||||
networks:
|
||||
- app-network
|
||||
|
||||
|
@ -51,3 +52,8 @@ services:
|
|||
networks:
|
||||
app-network:
|
||||
driver: bridge
|
||||
|
||||
#Volumes
|
||||
volumes:
|
||||
dbdata:
|
||||
driver: local
|
Loading…
Reference in New Issue