diff --git a/docker-compose.yml b/docker-compose.yml index c9cc4e6..32c474c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -31,10 +31,14 @@ services: ports: - 3306:3306 volumes: + - morris_mysql_volume:/var/lib/mysql - ./mysql-init.d:/docker-entrypoint-initdb.d networks: - network restart: always networks: - network: \ No newline at end of file + network: + +volumes: + morris_mysql_volume: \ No newline at end of file