https://github.com/s3bul/steamcmd-project-zomboid-server
https://github.com/s3bul/steamcmd-project-zomboid-server
docker docker-compose project-zomboid server swarm zomboid
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/s3bul/steamcmd-project-zomboid-server
- Owner: s3bul
- License: mit
- Created: 2023-03-25T18:20:54.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-06-25T18:40:13.000Z (almost 3 years ago)
- Last Synced: 2025-06-22T22:33:17.363Z (about 1 year ago)
- Topics: docker, docker-compose, project-zomboid, server, swarm, zomboid
- Language: Shell
- Homepage:
- Size: 23.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# steamcmd-project-zomboid-server
* Base image https://github.com/s3bul/steamcmd
* https://pzwiki.net/wiki/Dedicated_Server#Linux
* https://pzwiki.net/wiki/Startup_parameters
1. Create user `pzuser` and add to docker group `usermod -aG docker pzuser`
2. Run script as root `USER_UID=pzuser ./init.sh`
3. Switch user `su - pzuser`
4. Update file `./server/swarm.yml`
5. Run command `docker stack deploy -c ./server/swarm.yml pz`
### Requirements
Remember, more players and mods need more CPU/vCPU and RAM. When you run server with docker swarm, you can change CPU and RAM limits in file `./server/swarm.yml`:
```yaml
deploy:
resources:
limits:
cpus: '4.0'
memory: 8g
reservations:
cpus: '2.0'
memory: 4g
```
and
```yaml
environment:
PZ_JVM_MEMORY_MIN: 4g
PZ_JVM_MEMORY_MAX: 8g
```