From 2960d76eadc454cfd79fde5ec6bb179a12b7aab6 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Thu, 25 Jan 2024 23:19:06 +0100 Subject: [PATCH] Add docker-compose.yml --- .gitignore | 1 + docker-compose.yml | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 .gitignore create mode 100644 docker-compose.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..254defd --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +server diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..e9e8474 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,12 @@ +version: "3.8" + +services: + webserver: + build: . + container_name: mcsd + restart: always + stop_grace_period: 10s + volumes: + - ./server:/data + ports: + - 25565:25565