Skip to content

Commit

Permalink
chore: persistent mysql volume for docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
tada5hi committed Jun 12, 2024
1 parent 1d691ca commit 3059146
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
version: '3.9'
volumes:
mysql:
driver: local
services:
mysql:
image: mysql:latest
Expand All @@ -12,6 +15,8 @@ services:
environment:
MYSQL_ROOT_HOST: "%"
MYSQL_ROOT_PASSWORD: start123
volumes:
- mysql:/var/lib/mysql
networks:
hub:
redis:
Expand Down

0 comments on commit 3059146

Please sign in to comment.