Last active
January 16, 2022 14:41
-
-
Save Neo-Desktop/4876b50f72cc67db4241990b56386e05 to your computer and use it in GitHub Desktop.
Master 2 docker stack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
alpine: | |
image: alpine:latest | |
user: 1003:1003 | |
tty: true | |
working_dir: /app | |
deploy: | |
restart_policy: | |
condition: any | |
resources: | |
limits: | |
cpus: '0.5' | |
wine: | |
image: suchja/wine:dev | |
user: 1003:1003 | |
stdin_open: true | |
tty: true | |
environment: | |
- TERM=dumb | |
- WINEPREFIX=/home/xclient/.wine/dedicated_server | |
volumes: | |
- /home/starsiege/dedicated_server:/app | |
- /home/starsiege/.wine:/home/xclient/.wine | |
working_dir: /app | |
entrypoint: /app/launch.sh | |
deploy: | |
restart_policy: | |
condition: any | |
resources: | |
limits: | |
cpus: '0.3' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
master: | |
hostname: master2.starsiegeplayers.com | |
extends: | |
file: docker-compose-base.yaml | |
service: alpine | |
ports: | |
- 29000:29000 | |
- 29000:29000/udp | |
volumes: | |
- /home/starsiege/mstrsvr:/app | |
entrypoint: /app/mstrsvr_linux | |
dov: | |
hostname: domination | |
extends: | |
file: docker-compose-base.yaml | |
service: wine | |
ports: | |
- "29001:29001/udp" | |
environment: | |
- startup=server_dov.cs | |
depends_on: | |
- "master" | |
dovclone: | |
hostname: domination-overun-clone | |
extends: | |
file: docker-compose-base.yaml | |
service: wine | |
ports: | |
- "29002:29002/udp" | |
environment: | |
- startup=server_dov_clone.cs | |
depends_on: | |
- "master" | |
# edm: | |
# hostname: elimination-dm | |
# extends: | |
# file: docker-compose-base.yaml | |
# service: wine | |
# ports: | |
# - "29003:29003/udp" | |
# environment: | |
# - startup=server_edm.cs | |
# depends_on: | |
# - "master" | |
ntdf: | |
hostname: ntdf-training | |
extends: | |
file: docker-compose-base.yaml | |
service: wine | |
ports: | |
- "29004:29004/udp" | |
environment: | |
- startup=server_ntdf.cs | |
depends_on: | |
- "master" | |
tagdm: | |
hostname: tag-deathmatch | |
extends: | |
file: docker-compose-base.yaml | |
service: wine | |
ports: | |
- "29005:29005/udp" | |
environment: | |
- startup=server_tag.cs | |
depends_on: | |
- "master" | |
tar: | |
hostname: no-targeting | |
extends: | |
file: docker-compose-base.yaml | |
service: wine | |
ports: | |
- "29006:29006/udp" | |
environment: | |
- startup=server_tar.cs | |
depends_on: | |
- "master" | |
tartag: | |
hostname: tag-no-targeting | |
extends: | |
file: docker-compose-base.yaml | |
service: wine | |
ports: | |
- "29007:29007/udp" | |
environment: | |
- startup=server_tartag.cs | |
depends_on: | |
- "master" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Starting wine..." | |
wineboot -i | |
sleep 1 | |
echo "Kill useless wine services" | |
pkill -9 winedevice.exe | |
pkill -9 plugplay.exe | |
pkill -9 explorer.exe | |
pkill -9 services.exe | |
wine starsiege.exe -s ${startup} | |
echo "Server down" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment