Starbound Server inside a container, optimized for use in docker-compose/portainer/kubernetes.
First, edit the environmental variables in examples/docker-compose.yaml
, and then run:
docker-compose up -d
Once started you will see this message in the logs:
Starbound server not found. Attach and run /home/steam/install.sh.
Proceed to "Authenticating & Installing"
Similar to docker-compose, but instead, edit kubernetes.yaml
and:
kubectl apply -f examples/kubernetes.yaml
Once started you will see this message in the logs:
Starbound server not found. Attach and run /home/steam/install.sh.
Proceed to "Authenticating & Installing"
Because Starbound requires login to download, you'll need to enter your Steam Guard code, so first install must be slightly interactive. Once installed, interaction is only needed when you'd like to update. Once you're ready:
- Enter the container
docker exec -it starbound-docker-starbound-1 /bin/bash
- Run the install script
/home/steam/install.sh
- Enter your Steam Guard code when you see the prompt:
steam@3dfa89b7a099:/$ /home/steam/install.sh
Running as user: steam
Installing to /home/steam/starbound/
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
[ 0%] Downloading update...
[ 0%] Checking for available updates...
[----] Download complete.
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Cleaning up...
[----] Update complete, launching Steamcmd...
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1679680174
-- type 'quit' to exit --
Loading Steam API...OK
@sSteamCmdForcePlatformType linux
"@sSteamCmdForcePlatformType" = "linux"
force_install_dir /home/steam/starbound
Logging in user 'yourusername' to Steam Public...
Enter the current code from your Steam Guard Mobile Authenticator app
Two-factor code:ABCDF
OK
Waiting for client config...OK
Waiting for user info...OK
-
Set the
DO_UPDATE
environmental variable (it doesn't matter what you set it to as long as it's set) in yourdocker-compose.yaml
orkubernetes.yaml
file. -
Restart your container. Because the
DO_UPDATE
var is set, it will go back into theAttach and run
loop. -
Attach and re-run
/home/steam/install.sh
. -
remove the
DO_UPDATE
env variable from your config and restart.