Docker container to easily provision and manage The Forest Dedicated Server with Wine
This includes a TheForest Dedicated Server based on Docker with Wine and an example config.
If you are looking for the Sons of the Forest version, please look here: https://github.com/jammsen/docker-sons-of-the-forest-dedicated-server
WARNING: If you dont do Step 1 and 2 your server can/will not save!
242760
)SERVER_STEAM_ACCOUNT_TOKEN
)/srv/tfds/steamcmd
and /srv/tfds/game
)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
ALWAYS_UPDATE_ON_START: 1
ports:
- 8766:8766/tcp
- 8766:8766/udp
- 27015:27015/tcp
- 27015:27015/udp
- 27016:27016/tcp
- 27016:27016/udp
volumes:
- ./steamcmd:/steamcmd
- ./game:/theforest
- ./winedata:/winedata
Nothing yet