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: