Deploy a StarRupture dedicated server using Docker for easy management, updates, and portability.
At no point during this configuration will you use the in-game Server Manager - trying to use it will generate an error. Always connect to your server using your WAN IP via the Join Server button.
Install Docker and Docker Compose on your system.
# Install Docker (Ubuntu/Debian)
curl -fsSL https://get.docker.com | sh
# Add your user to the docker group
sudo usermod -aG docker $USER
# Install Docker Compose
sudo apt install docker-compose-plugin
# Verify installation
docker --version
docker compose versionCreate directories for your server files and configuration.
# Create server directory
mkdir -p ~/starrupture-server/{config,saves}
cd ~/starrupture-serverGenerate secure passwords using the official utility.
# Create Password.json (paste admin password content)
nano ~/starrupture-server/config/Password.json
# Create PlayerPassword.json (paste player password content)
nano ~/starrupture-server/config/PlayerPassword.jsonCreate the server configuration file.
{
"SessionName": "MySaveGame",
"SaveGameInterval": "300",
"StartNewGame": "false",
"LoadSavedGame": "true",
"SaveGameName": "AutoSave0.sav"
}First Time Setup
For initial world creation, set "StartNewGame": "true" and "LoadSavedGame": "false". After creating and saving your world, revert these settings.
Use our Config Builder to generate a customized configuration.
Create a Docker Compose file to manage your server container.
version: '3.8'
services:
starrupture:
image: cm2network/steamcmd:root
container_name: starrupture-server
restart: unless-stopped
ports:
- "7777:7777/udp"
volumes:
- ./server:/home/steam/starrupture
- ./config/DSSettings.txt:/home/steam/starrupture/DSSettings.txt
- ./config/Password.json:/home/steam/starrupture/Password.json
- ./config/PlayerPassword.json:/home/steam/starrupture/PlayerPassword.json
- ./saves:/home/steam/starrupture/Saved/SaveGames
environment:
- STEAMAPPID=XXXXXX
entrypoint: ["/bin/bash", "-c"]
command:
- |
# Update/install server
./steamcmd.sh +force_install_dir /home/steam/starrupture +login anonymous +app_update $$STEAMAPPID validate +quit
# Start server with Wine
cd /home/steam/starrupture
wine StarRuptureServerEOS.exe -Log -port=7777Note
Replace XXXXXX with the StarRupture Dedicated Server Steam App ID when available. You may need to use a custom Docker image with Wine support.
Use Docker Compose to start your server.
# Start the server
docker compose up -d
# View logs
docker compose logs -f
# Stop the server
docker compose down
# Restart the server
docker compose restartTo update to the latest version:
# Stop the server
docker compose down
# Remove the container and pull updates
docker compose pull
# Start with fresh container
docker compose up -dOnce your server is running, connect using:
123.45.67.89:7777)curl ifconfig.me