A generic docker image for the Stationeers dedicated server.
- Installs or updates the server on startup.
- Drops privileges to a configurable UID and GID.
- Handle graceful shutdown via the server telnet console.
- Include a Docker healthcheck.
docker run -d -v $PWD/data:/data \
-p 27500:27500 \
-p 27500:27500/udp \
-p 27015:27015 \
-p 27015:27015/udp \
zobees/stationeersThe following environment variables are used to congigure the server:
| Variable | Default | Description |
|---|---|---|
| WORLD_NAME | stationeers | Specifies the name of the save directory |
| WORLD_TYPE | Terrain | The type of world (Space, Mars or Terrain) |
| AUTOSAVE_INTERVAL | 300 | The duration between autosaves in seconds |
Note that this is a preliminary implementation and these are likely to change (and improve).
- You MUST shutdown the server via the console since graceful shutdown has not yet been implemented.
- Healthcheck has not yet been implemented.
- Configuration environment variables override default.ini.
- The server port is not currently configurable.
See the source code for this and its base image for more information:
These containers are designed to be used by Zobees to host game servers for friends and family, and therefore may not suit all use cases. That said, we are all for flexibility and would welcome pull requests and issues.