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