add docker-compose.yml
This commit is contained in:
24
docker-compose.yml
Normal file
24
docker-compose.yml
Normal 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:
|
||||||
Reference in New Issue
Block a user