Skip to content

Commit

Permalink
Generate docker-compose.yml files
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibbs64 committed Sep 23, 2024
1 parent 897a36c commit 5541e52
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
24 changes: 24 additions & 0 deletions docker-compose/docker-compose-sm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
version: "3.8"
services:
# bind mount example
linuxgsm-sm-bind:
image: gameservermanagers/gameserver:sm
# image: ghcr.io/gameservermanagers/gameserver:sm
container_name: smserver
restart: unless-stopped
volumes:
- /path/to/linuxgsm/smserver:/data
network_mode: host

# volume example
linuxgsm-sm-volume:
image: gameservermanagers/gameserver:sm
# image: ghcr.io/gameservermanagers/gameserver:sm
container_name: smserver
restart: unless-stopped
volumes:
- linuxgsm-sm:/data
network_mode: host

volumes:
linuxgsm-sm:
24 changes: 24 additions & 0 deletions docker-compose/docker-compose-xnt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
version: "3.8"
services:
# bind mount example
linuxgsm-xnt-bind:
image: gameservermanagers/gameserver:xnt
# image: ghcr.io/gameservermanagers/gameserver:xnt
container_name: xntserver
restart: unless-stopped
volumes:
- /path/to/linuxgsm/xntserver:/data
network_mode: host

# volume example
linuxgsm-xnt-volume:
image: gameservermanagers/gameserver:xnt
# image: ghcr.io/gameservermanagers/gameserver:xnt
container_name: xntserver
restart: unless-stopped
volumes:
- linuxgsm-xnt:/data
network_mode: host

volumes:
linuxgsm-xnt:

0 comments on commit 5541e52

Please sign in to comment.