Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save nucleardreamer/34cd0e54a7e1f549ce6782609492a3f0 to your computer and use it in GitHub Desktop.

Select an option

Save nucleardreamer/34cd0e54a7e1f549ce6782609492a3f0 to your computer and use it in GitHub Desktop.
---
version: '2'
services:
zomboid:
image: danixu86/project-zomboid-dedicated-server:latest
restart: unless-stopped
network_mode: host
#build:
# context: .
# dockerfile: Dockerfile
env_file:
- /mnt/main/.env
environment:
SERVERNAME: "dagger"
MODFOLDERS: "workshop,steam,mods"
ADMINPASSWORD: "testing"
SERVERPRESET: "FirstWeek"
ports:
- "16261:16261/udp"
- "16262:16262/udp"
- "27015:27015/tcp"
volumes:
# Server data
- /mnt/main/zomboid/data:/home/steam/Zomboid
# Workshop mods folder
- /mnt/main/zomboid/workshop:/home/steam/pz-dedicated/steamapps/workshop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment