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.ymland copy the content ofdocker-compose.yml.exampleinto it. - In the
docker-compose.ymlfile, the environment variablesServerPasswordandSteamServerNameshould 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
-dfrom the command above. - This will download the Dedicated Server binaries and game files to the
gamefilesdirectory. - Persistent save file data will be written to the
datadirectory.
- 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
AutoUpdateenvironment variable totrue. This checks for updates every time the container is started. - By deleting the
gamefilesdirectory while the server is turned off.
Sometimes, changes to this container image are necessary. To apply these:
- Merge the content of
docker-compose.ymlwith any changes made fromdocker-compose.yml.example. - Run
docker-compose pullto 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.