From 296e14f0f673d623584ebf9d0df93d417faa874b Mon Sep 17 00:00:00 2001 From: alwayscompiling Date: Sun, 4 Dec 2022 11:57:23 -0500 Subject: [PATCH] Add docker compose file. --- highscores_compose.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 highscores_compose.yaml 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