This is for the wayward game found here: https://store.steampowered.com/app/379210
224
The repo can be found here: https://github.com/cutiepoka/wayward-docker
A Docker container for running a Wayward dedicated server with full configuration support.
docker build -t wayward-server .
docker run -d -p 38740:38740 \
-e STEAM_USER="your_steam_username" \
-e STEAM_PASS="your_steam_password" \
wayward-server
All Wayward server options can be configured through environment variables. Variable names match the exact command-line parameter names found here: https://www.waywardgame.com/multiplayer
STEAM_USER - Steam username (optional - tries anonymous first)STEAM_PASS - Steam password (optional - tries anonymous first)Set to "true" to enable, "false" or unset to use the default provided by wayward server:
| Variable | Description | Default |
|---|---|---|
allowHardcoreRespawns | Allows players to respawn in hardcore mode as a new character | false |
backup | Enable automated backups to the servers /backups folder | false |
console | Starts dedicated server in console only mode (no GUI) | true |
customMilestoneModifiersAllowed | Allows players to set their own milestone modifiers when joining | false |
dev | Opens Developer Tools on launch | false |
new | Creates a new game every launch | false |
private | Prevents the server from showing up in the server browser | false |
pvp | Enables PVP | false |
ssh | Enables SSH | false |
These options accept specific values. If not set, Wayward uses its built-in defaults:
| Variable | Description | Example |
|---|---|---|
backupInterval | Backup interval in minutes | 10 |
difficulty | Game difficulty: hardcore, casual, challenge, dailychallenge | hardcore |
hardwareAcceleration | Hardware acceleration (0=disabled, 1=enabled) | 1 |
maxBackups | Maximum backups to keep | 24 |
maxPlayers | Maximum players | 32 |
name | Server name | "My Server" |
port | Server port | 38740 |
realTimeTickSpeed | Real time tick speed (normal range: 10-80) | 50 |
turnMode | Turn mode: realtime, simulated | simulated |
Only added if the environment variable is set:
| Variable | Description | Example |
|---|---|---|
load | Game name to load on startup - creates if doesn't exist | "My World" |
milestones | Comma-separated string of milestones to load | "milestone1,milestone2" |
savePath | Custom save path (defaults to /home/steam/save) | "/custom/path" |
seed | World generation seed | 123456 |
sshPassword | SSH password | "secure_password" |
sshPort | SSH port | 22 |
sshUsername | SSH username | "admin" |
version: '3.8'
services:
wayward:
build: .
ports:
- "38740:38740"
environment:
- name=My Wayward Server
- maxPlayers=16
- difficulty=hardcore
- pvp=true
- backup=true
- backupInterval=15
- port=38740
volumes:
- wayward_saves:/home/steam/save
restart: unless-stopped
volumes:
wayward_saves:
environment:
- name=PVP Battle Server
- pvp=true
- difficulty=hardcore
- maxPlayers=32
- private=false
environment:
- name=Dev Server
- private=true
- dev=true
- maxPlayers=4
- customMilestoneModifiersAllowed=true
environment:
- backup=true
- backupInterval=10
- maxBackups=48
The server saves are stored in /home/steam/save inside the container. Mount this as a volume to persist your worlds:
-v wayward_saves:/home/steam/save
docker build -t wayward-server .
View container logs to see server startup and any errors:
docker logs <container_name>
This Docker configuration is provided as-is. Wayward is a commercial game - you must own it to use this server.
Content type
Image
Digest
sha256:382ea2621…
Size
156.9 MB
Last updated
6 months ago
docker pull samuelt1/wayward