I recommend reading this Article first https://steamcommunity.com/sharedfiles/filedetails/?id=788739671
Clone the repo:
git clone "https://github.com/Dakes/FortressCraft-Evolved-Docker-Server.git"
cd FortressCraft-Evolved-Docker-Server
Change the folling files to your needs:
docker-compose.yml
files/firstrun.ini
files/serveroverrides.ini
You may need to create the necessary directories yourself, like in this case
~/games/FCE/
~/games/FCE_server/
To build the image: (in the same folder as docker-compose.yml)
docker-compose build
To start it:
docker-compose up -d
Or both commands in one:
docker-compose up -d --build
It may take some time until the server got downloaded the first time. It is ~5gb in size.
If you use the volume:
- ~/games/FCE_server:/opt/FCE
The 5gb server will be saved in ~/games/FCE_server
rather than inside the docker.
It will be revalidated and updated after future rebuilds of the container, without the need to redownload all ~5gb.
To set up your server with mods, just follow the steps in this Article: https://steamcommunity.com/sharedfiles/filedetails/?id=788739671
The necessary directories will be the following:
~/games/FCE/Worlds/
~/games/FCE/WorkshopMods/