Sign inSign up

samuelt1/wayward

By samuelt1

•Updated 6 months ago

This is for the wayward game found here: https://store.steampowered.com/app/379210

Image
Web servers
0

224

samuelt1/wayward repository overview

⁠Wayward Dedicated Server Docker

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.

⁠Quick Start

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

⁠Configuration

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 Authentication
  • STEAM_USER - Steam username (optional - tries anonymous first)
  • STEAM_PASS - Steam password (optional - tries anonymous first)
⁠Switch Options (Boolean)

Set to "true" to enable, "false" or unset to use the default provided by wayward server:

VariableDescriptionDefault
allowHardcoreRespawnsAllows players to respawn in hardcore mode as a new characterfalse
backupEnable automated backups to the servers /backups folderfalse
consoleStarts dedicated server in console only mode (no GUI)true
customMilestoneModifiersAllowedAllows players to set their own milestone modifiers when joiningfalse
devOpens Developer Tools on launchfalse
newCreates a new game every launchfalse
privatePrevents the server from showing up in the server browserfalse
pvpEnables PVPfalse
sshEnables SSHfalse
⁠Value Options

These options accept specific values. If not set, Wayward uses its built-in defaults:

VariableDescriptionExample
backupIntervalBackup interval in minutes10
difficultyGame difficulty: hardcore, casual, challenge, dailychallengehardcore
hardwareAccelerationHardware acceleration (0=disabled, 1=enabled)1
maxBackupsMaximum backups to keep24
maxPlayersMaximum players32
nameServer name"My Server"
portServer port38740
realTimeTickSpeedReal time tick speed (normal range: 10-80)50
turnModeTurn mode: realtime, simulatedsimulated
⁠Optional Parameters

Only added if the environment variable is set:

VariableDescriptionExample
loadGame name to load on startup - creates if doesn't exist"My World"
milestonesComma-separated string of milestones to load"milestone1,milestone2"
savePathCustom save path (defaults to /home/steam/save)"/custom/path"
seedWorld generation seed123456
sshPasswordSSH password"secure_password"
sshPortSSH port22
sshUsernameSSH username"admin"

⁠Docker Compose Example

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:

⁠Advanced Configuration

⁠PVP Server Example
environment:
  - name=PVP Battle Server
  - pvp=true
  - difficulty=hardcore
  - maxPlayers=32
  - private=false
⁠Private Development Server
environment:
  - name=Dev Server
  - private=true
  - dev=true
  - maxPlayers=4
  - customMilestoneModifiersAllowed=true
⁠Backup-Enabled Server
environment:
  - backup=true
  - backupInterval=10
  - maxBackups=48

⁠Data Persistence

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

⁠Building

docker build -t wayward-server .

⁠Troubleshooting

⁠Common Issues
  1. Server won't start: Check that the Steam update completed successfully in the logs
  2. Authentication failures: Verify Steam credentials or try without them (anonymous)
  3. Connection issues: Ensure the port is properly exposed and not blocked by firewalls
⁠Logs

View container logs to see server startup and any errors:

docker logs <container_name>

⁠References

⁠License

This Docker configuration is provided as-is. Wayward is a commercial game - you must own it to use this server.

Tag summary

Content type

Image

Digest

sha256:382ea2621…

Size

156.9 MB

Last updated

6 months ago

docker pull samuelt1/wayward