From 9a6e5212547c198aa4d0c7b73c11379a57a8cb3a Mon Sep 17 00:00:00 2001 From: "Fabien LEFEBVRE (d1ceward)" Date: Thu, 5 Dec 2024 02:00:31 +0100 Subject: [PATCH] Add fctr compose --- README.md | 27 --------------------------- docker-compose/fctr.yml | 13 +++++++++++++ 2 files changed, 13 insertions(+), 27 deletions(-) create mode 100644 docker-compose/fctr.yml diff --git a/README.md b/README.md index 4d94ce5..6ef44bd 100644 --- a/README.md +++ b/README.md @@ -1,30 +1,3 @@ # ForgeSparks custom LinuxGSM Docker Container A custom implementation of dockerised version of LinuxGSM https://linuxgsm.com - -## Usage - -### docker-compose - -Below is an example `docker-compose` for csgoserver. Ports will vary depending upon server. - -```docker -services: - csgoserver: - image: d1ceward/docker-linuxgsm:latest - environment: - - GAMESERVER=jc2server - - LGSM_GITHUBUSER=GameServerManagers - - LGSM_GITHUBREPO=LinuxGSM - - LGSM_GITHUBBRANCH=develop - volumes: - - /path/to/serverfiles:/linuxgsm/serverfiles - - /path/to/log:/linuxgsm/log - - /path/to/config-lgsm:/linuxgsm/config-lgsm - ports: - - "27015:27015/tcp" - - "27015:27015/udp" - - "27020:27020/udp" - - "27005:27005/udp" - restart: unless-stopped -``` diff --git a/docker-compose/fctr.yml b/docker-compose/fctr.yml new file mode 100644 index 0000000..62a00c8 --- /dev/null +++ b/docker-compose/fctr.yml @@ -0,0 +1,13 @@ +--- +services: + gameserver: + image: d1ceward/docker-linuxgsm:latest + restart: unless-stopped + environment: + GAMESERVER: fctrserver + volumes: + - data:/data + ports: + - 34197:34197/udp +volumes: + data: