Skip to content
Snippets Groups Projects
Commit 1ec4ce25 authored by fz2907's avatar fz2907
Browse files

added docker-compose.yml to create the database

parent 719b30e3
No related branches found
No related tags found
3 merge requests!27Sprint 1 done,!7Changed DB port from 3306 to 3307. So it will not interrupt with your own local MySQL,!6Service to DB connection is ready.
/.idea/
/DataBaseFolder/MySQL/mySQL-Data/
/DataBaseFolder/MySQL/my-db/
......@@ -12,7 +12,7 @@ services:
MYSQL_PASSWORD: mypassword
MYSQL_DATABASE: switch-room-db # create this database on startup
volumes:
- my-db:/var/lib/mysql
- ./my-db:/var/lib/mysql
ports:
- '3306:3306'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment