diff --git a/docker-compose.yml b/docker-compose.yml index 751a88c..f062f88 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 \ No newline at end of file