Deploy a Hytale dedicated server with a community-focused Docker image by 10+ contributors. This project simplifies Hytale self-hosting with built-in security, networking and debugging tools. Join our active Discord for direct support and to connect with other server owners. Whether you're testing mods or running a persistent world, this container provides a consistent, production-ready environment in one command.
- Documentation: Detailed performance optimizations and security specifications are located in the Project Docs.
- Troubleshooting: Check the support page and our Security Policy before reporting issues. You can also visit our Discord
Install docker CLI on linux or the GUI on windows, macos and linux
You can run the container by running this in your CLI
docker run \
--name hytale-server \
-e SERVER_IP="0.0.0.0" \
-e SERVER_PORT="5520" \
-e PROD="FALSE" \
-e DEBUG="FALSE" \
-e TZ="Europe/Amsterdam" \
-p 5520:5520/udp \
-v "hytale-server:/home/container" \
-v "/etc/machine-id:/etc/machine-id:ro" \
--restart unless-stopped \
deinfreu/hytale-server:latestAlternatively, you can deploy using Docker Compose. Use the configuration below or explore the examples folder for more advanced templates.
services:
hytale:
image: deinfreu/hytale-server:latest
container_name: hytale-server
environment:
SERVER_IP: "0.0.0.0"
SERVER_PORT: "5520"
PROD: "FALSE"
DEBUG: "FALSE"
TZ: "Europe/Amsterdam"
restart: unless-stopped
ports:
- "5520:5520/udp"
volumes:
- ./data:/home/container
- /etc/machine-id:/etc/machine-id:ro
tty: true
stdin_open: true