For operating a dedicated server in Docker in order to use it under Linux. The container uses Wine to run the server under Linux.
- Create a new empty directory in any location with enough storage space.
- Create a file named
docker-compose.yml
and copy the content ofdocker-compose.yml.example
into it. - In the
docker-compose.yml
file, the environment variablesServerPassword
andSteamServerName
should be adjusted. - Setup and start via docker-compose by running the command
docker-compose up -d
.- This will run the server in the background and autostart it whenever the docker daemon starts. If you do not want this, remove
-d
from the command above. - This will download the Dedicated Server binaries and game files to the
gamefiles
directory. - Persistent save file data will be written to the
data
directory.
- This will run the server in the background and autostart it whenever the docker daemon starts. If you do not want this, remove
There are two ways to update the game server:
- By setting the
AutoUpdate
environment variable totrue
. This checks for updates every time the container is started. - By deleting the
gamefiles
directory while the server is turned off.
Sometimes, changes to this container image are necessary. To apply these:
- Merge the content of
docker-compose.yml
with any changes made fromdocker-compose.yml.example
. - Run
docker-compose pull
to download an updated version of the container image.
An example configuration for docker-compose can be found in the docker-compose.yml
file.
In addition to the default settings, which can be set via the environment variables, further arguments can be specified via the AdditionalArgs
environment variable.
Possible launch parameters and further information on the dedicated servers for Abiotic Factor can be found here.
Thanks to @sirwillis92 for finding a solution to the startup problem with the LogOnline: Warning: OSS: Async task 'FOnlineAsyncTaskSteamCreateServer bWasSuccessful: 0' failed in 15
message.