This includes a TheForest Dedicated Server based on Docker with Wine and an example config.
- Basic understanding of Linux and Docker
WARNING: If you dont do Step 1 and 2 your server can/will not save!
- Create a new game server account over at https://steamcommunity.com/dev/managegameservers (Use AppID:
242760
) - Insert the Login Token into the environment variable via docker-run or docker-compose (at
SERVER_STEAM_ACCOUNT_TOKEN
) - Create 2 directories on your Dockernode (
/srv/tfds/steamcmd
and/srv/tfds/game
) - Start the container with the following examples:
Bash:
docker run --rm -i -t -e 'SERVER_STEAM_ACCOUNT_TOKEN=YOUR_TOKEN_HERE' -p 8766:8766/tcp -p 8766:8766/udp -p 27015:27015/tcp -p 27015:27015/udp -p 27016:27016/tcp -p 27016:27016/udp -v /srv/tfds/steamcmd:/steamcmd -v /srv/tfds/game:/theforest --name the-forest-dedicated-server jammsen/the-forest-dedicated-server:latest
or
docker run --rm -i -t -e 'SERVER_STEAM_ACCOUNT_TOKEN=YOUR_TOKEN_HERE' -p 8766:8766/tcp -p 8766:8766/udp -p 27015:27015/tcp -p 27015:27015/udp -p 27016:27016/tcp -p 27016:27016/udp -v $(pwd)/theforest/steamcmd:/steamcmd -v $(pwd)/theforest/game:/theforest --name the-forest-dedicated-server jammsen/the-forest-dedicated-server:latest
Docker-Compose:
version: "3.7"
services:
the-forest-dedicated-server:
container_name: the-forest-dedicated-server
image: jammsen/the-forest-dedicated-server:latest
restart: always
environment:
SERVER_STEAM_ACCOUNT_TOKEN: YOUR_TOKEN_HERE
ports:
- 8766:8766/tcp
- 8766:8766/udp
- 27015:27015/tcp
- 27015:27015/udp
- 27016:27016/tcp
- 27016:27016/udp
Nothing yet
- Debian Slim Stable
- Xvfb
- Winbind
- Wine
- SteamCMD
- TheForest Dedicated Server