add docker-compose.yml

This commit is contained in:
zino
2023-11-14 10:46:58 +01:00
parent 4df14f49f8
commit e7d32bc485

24
docker-compose.yml Normal file
View File

@@ -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: