Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.94 KB

README.md

File metadata and controls

35 lines (24 loc) · 1.94 KB

A Stationeers Docker Image

This repository attempts to build a working stationeers server image every 24 hours so should track the latest released version of the game.

It does occasionally fail to build, as the SteamCMD process just explodes with no warning mid-build with no discernable reason, but if the build succeeds it does result in a pretty rock-solid server image.

I've been using this for my multiplayer world(s) for some time now with no issues.

If you find my work useful, consider tipping me via Ko-fi, every little helps and is greatly appreciated!

ko-fi

Running via docker compose

Either clone this repository, or create a new folder with the docker-compose.yml file and data folder present, then from the same path as the docker-compose.yml file just run docker compose up (or docker compose up -d to run this in the background) and you should, after a little wait while the server builds have a full stationeers server instance.

Save data will be saved in data/saves and scripts can be placed in data/scripts

Note that to connect to the server you'll need to have ports 27015/udp, 27016/udp, 8081/tcp open on your docker host too.

Supported Configuration via Environment Variables

  • SV_AUTH_SECRET - Any string
  • SV_VISIBLE - "True" or "False", defaults to True
  • SV_PORT - Any valid port, defaults to 27016
  • SV_NAME - Any string, defaults to "Docker Stationeers"
  • SV_SAVE_NAME - Any string, defaults to "multiplayer"
  • SV_DEFAULT_WORLD - One of Moon Mars Vulcan etc.
  • SV_PASSWORD - Any string
  • SV_AUTOSAVE - "True" or "False", defaults to True
  • SV_SAVE_INTERVAL - In seconds. Defaults to 5 minutes, aka. "300" seconds
  • SV_MAX_PLAYERS - Maximum players connected, defaults to "10"
  • SV_UPNP_ON - "True" or "False", defaults to True, recommended
  • SV_DIFFICULTY - Any valid difficulty level, defaults to "normal"