diff --git a/highscores_compose.yaml b/highscores_compose.yaml new file mode 100644 index 0000000..5bdade4 --- /dev/null +++ b/highscores_compose.yaml @@ -0,0 +1,15 @@ +version: "3" +services: + sqldb: + image: "highscores_db" + container_name: "Highscores-DataBase" + volumes: + - highscores_data:/var/lib/mysql + ports: + - 3306:3306 + environment: + - MYSQL_ROOT_PASSWORD=${SQL_PASS} + - MYSQL_ROOT_USERNAME=${SQL_USER} + +volumes: + highscores_data: \ No newline at end of file