Sign inSign up

indifferentbroccoli/projectzomboid-server-docker

By indifferentbroccoli

Updated about 1 month ago

This is a Dockerized version of the Project Zomboid dedicated server.

Image
2

50K+

indifferentbroccoli/projectzomboid-server-docker repository overview

marketing_assets_banner

GitHub License GitHub Release GitHub Repo stars Docker Pulls

Game server hosting

Fast RAM, high-speed internet

Eat lag for breakfast

Try our Project Zomboid Server hosting free for 2 days!

Project Zomboid Server Docker

Important

Using Docker Desktop with WSL2 on Windows will result in a very slow download!

Server Requirements

ResourceMinimumRecommended
CPU4 cores4+ cores
RAM4GBRecommend over 8GB for stable operation
Storage5GB10GB

How to use

Important

.env settings will override the current settings in the settings.ini If you do not want that to happen, set GENERATE_SETTINGS=false

Copy the .env.example file to a new file called .env file. Then use either docker compose or docker run

Important

Please make sure to change the following in the .env: PASSWORD/RCON_PASSWORD/ADMIN_USERNAME/ADMIN_PASSWORD
Docker compose

Starting the server with Docker Compose:

services:
  projectzomboid:
    image: indifferentbroccoli/projectzomboid-server-docker
    restart: unless-stopped
    container_name: projectzomboid
    stop_grace_period: 30s
    ports:
      - 16261:16261/udp
      - 16262:16262/udp
      - 27015:27015/tcp
    env_file:
      - .env
    volumes:
      - ./projectzomboid/data:/project-zomboid
      - ./projectzomboid/config:/project-zomboid-config

Then run:

docker-compose up -d
Docker Run
docker run -d \
    --restart unless-stopped \
    --name projectzomboid \
    --stop-timeout 30 \
    -p 16261:16261/udp \
    -p 16262:16262/udp \
    -p 27015:27015/tcp \
    --env-file .env \
    -v ./projectzomboid/data:/project-zomboid \
    -v ./projectzomboid/config:/project-zomboid-config
    indifferentbroccoli/projectzomboid-server-docker

Environment Variables

For an overview of all Enviroment Variables go to: https://github.com/indifferentbroccoli/projectzomboid-server-docker/tree/main?tab=readme-ov-file#environment-variables

Tag summary

Content type

Image

Digest

sha256:8e13816b9

Size

103 MB

Last updated

about 1 month ago

docker pull indifferentbroccoli/projectzomboid-server-docker