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: