adjusted
This commit is contained in:
@@ -1,24 +1,12 @@
|
|||||||
version: "3.8"
|
version: "3.8"
|
||||||
services:
|
services:
|
||||||
# bind mount example
|
server:
|
||||||
linuxgsm-cs-bind:
|
|
||||||
image: gameservermanagers/gameserver:cs
|
image: gameservermanagers/gameserver:cs
|
||||||
# image: ghcr.io/gameservermanagers/gameserver:cs
|
# image: ghcr.io/gameservermanagers/gameserver:cs
|
||||||
container_name: csserver
|
container_name: lgsm-cs
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- /path/to/linuxgsm/csserver:/data
|
- /opt/docker/lgsm-cs:/data
|
||||||
network_mode: host
|
ports:
|
||||||
|
- "27015:27015/udp"
|
||||||
# volume example
|
- "27015:27015/tcp"
|
||||||
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:
|
|
||||||
|
|||||||
Reference in New Issue
Block a user