mirror of
https://github.com/AlexMacocian/XStarboundDocker.git
synced 2026-07-15 14:59:32 +00:00
main
xStarbound Docker
This repository contains a docker-compose.yml with a couple of utilities to set up a docker container that runs xStarbound.
Initial Setup
- Create a folder on your host machine
- Run
git clone https://github.com/AlexMacocian/XStarboundDocker - Navigate to
XStarboundDocker/docker-compose.yml - Open the yml file with a text editor and adjust it
- Modify the source of the starbound volume to a place on your host where you want to persist your files.
source: D:/temp/starbound - Uncomment and set your steam username and password combo. If you don't want to expose your username/password combo in the yml file, leave these lines commented and the installation script will prompt you for your username and password
- Modify the source of the starbound volume to a place on your host where you want to persist your files.
#environment:
# - STEAM_USER=your_username_here
# - STEAM_PASS=your_password_here
- Run
docker compose run --rm installand follow the installation steps- If you haven't set your username/password in the
docker-compose.yml, the installation will prompt you to introduce your username/password - If your account has Steam Guard enabled, SteamCMD will ask you for your steam guard code. You should receive an email with that code from steam. Write the code in the prompt and press enter.
- If you haven't set your username/password in the
- The installation script will now download your Starbound files from steam and set up xStarbound in the persistent folder that you set up on step 4.
- If you want to copy the mods that you are subscribed to on Steam Workshop, run
docker compose run install-workshop-mods - Run
docker compose up -d serverto start the server - Run
docker compose downto stop the server
Update Starbound
In case you have subscribed to more mods on Steam Workshop or by some miracle there's a Starbound update on Steam, run docker compose run --rm install to update your server (this will also update xStarbound).
After the installation is done, run docker compose run install-workshop-mods to copy over the mods from Steam Workshop.
Update xStarbound
If you want to update xStarbound files only, run docker compose run --rm install-skip-verify
Adjust server configuration
You will find the server files in the folder that you set up at Initial Setup Step 4.
From the persistent folder, navigate to storage and open xserver.config
Description
Languages
Shell
69.4%
Dockerfile
30.6%