From 4202b175087863fae7b5a3dfa1b11fa6d1ca6566 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Fri, 4 Nov 2022 21:54:22 +0000 Subject: [PATCH] add docker-compose file for testing --- docker-compose.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..94b4ed8 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,20 @@ +version: "3.4" +services: + linuxgsm: + build: + context: . + dockerfile: ./Dockerfile.ubuntu-2204 + container_name: jc2server + environment: + - GAMESERVER=jc2server + - LGSM_GITHUBUSER=GameServerManagers + - LGSM_GITHUBREPO=LinuxGSM + - LGSM_GITHUBBRANCH=develop + volumes: + - /home/linuxgsm/jc2server/serverfiles:/linuxgsm/serverfiles + - /home/linuxgsm/jc2server/log:/linuxgsm/log + - /home/linuxgsm/jc2server/config-lgsm:/linuxgsm/config-lgsm + ports: + - "25565:25565/tcp" + - "25575:25575/udp" + restart: unless-stopped