Add a zomboid serber

This commit is contained in:
Salt 2023-07-08 12:01:52 -05:00
parent 729ca1a3fe
commit 29e9a8dccf
2 changed files with 29 additions and 0 deletions

View File

@ -37,6 +37,7 @@
- game/minecraft-create-extra.yml
- game/minecraft-vanilla.yml
- game/satisfactory.yml
- game/zomboid.yml
tags: [ always ]
roles:
- role: backup

View File

@ -0,0 +1,28 @@
# vim:ft=ansible:
- name: docker deploy zomboid
community.docker.docker_container:
name: zomboid
state: started
# At time of writing, :latest segfaults because #67
image: renegademaster/zomboid-dedicated-server:1.6.0
restart_policy: unless-stopped
pull: yes
env:
ADMIN_USERNAME: "Salt"
ADMIN_PASSWORD: "SuperMegaDicks"
MAX_PLAYERS: "8"
MOD_NAMES: "DRAW_ON_MAP;BB_CommonSense;MapLegendUI;BetterSortCC;VISIBLE_BACKPACK_BACKGROUND;MapSymbolSizeSlider;Lingering Voices"
MOD_WORKSHOP_IDS: "2804531012;2875848298;2710167561;2313387159;2808679062;2734705913;2874678809"
RCON_PASSWORD: "SuperMegaDicks"
SERVER_NAME: "The Salty Spitoon"
SERVER_PASSWORD: "dicks"
STEAM_VAC: "false"
TZ: "America/Chicago"
ports:
- "8766:8766/udp"
- "16261:16261/udp"
- "16262:16262/udp"
volumes:
- /data/zomboid/ZomboidDedicatedServer:/home/steam/ZomboidDedicatedServer
- /data/zomboid/ZomboidConfig:/home/steam/Zomboid
tags: [ docker, zomboid ]