From e7d32bc4852484f282ca86f42cf5906c42f1167d Mon Sep 17 00:00:00 2001 From: zino Date: Tue, 14 Nov 2023 10:46:58 +0100 Subject: [PATCH] add docker-compose.yml --- docker-compose.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..c63c129 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,24 @@ +version: "3.8" +services: + # bind mount example + linuxgsm-cs-bind: + image: gameservermanagers/gameserver:cs + # image: ghcr.io/gameservermanagers/gameserver:cs + container_name: csserver + restart: unless-stopped + volumes: + - /path/to/linuxgsm/csserver:/data + network_mode: host + + # volume example + linuxgsm-cs-volume: + image: gameservermanagers/gameserver:cs + # image: ghcr.io/gameservermanagers/gameserver:cs + container_name: csserver + restart: unless-stopped + volumes: + - linuxgsm-cs:/data + network_mode: host + +volumes: + linuxgsm-cs: