This repository has been archived by the owner on Jun 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
version: "3.3" | ||
services: | ||
stationeers: | ||
image: hetsh/stationeers | ||
ports: | ||
- "27500:27500/udp" # Game Port (required) - client-server communication | ||
- "27015:27015/udp" # Steam Port (recommended - required for listing in server browser) | ||
# - "27500:27500/tcp" # RCON Port (optional) - server control via network | ||
environment: | ||
- WORLD_TYPE=Mars # Play on Mars - default is Moon | ||
- WORLD_NAME=Mars # Rename save - default is Base | ||
# - SAVE_INTERVAL=120 # Increase save frequency - default is 300 seconds | ||
# - CLEAR_INTERVAL=-1 # Disable idle player clearing - default is 60 seconds | ||
volumes: | ||
- "/path/to/storage/logs:/var/log/stationeers" # Save game logs | ||
- "/path/to/storage/data:/stationeers" # Persistent storage for saves, default.ini, ... | ||
- "/etc/localtime:/etc/localtime:ro" # Correct time for logs and more |