Skip to content

iammsf/docker-the-forest-dedicated-server

 
 

Repository files navigation

Docker - TheForest Dedicated Server

This includes a TheForest Dedicated Server based on Docker with Wine and an example config.

What you need to run this

  • Basic understanding of Linux and Docker

Getting started

WARNING: If you dont do Step 1 and 2 your server can/will not save!

  1. Create a new game server account over at https://steamcommunity.com/dev/managegameservers (Use AppID: 242760)
  2. Insert the Login Token in the config (At serverSteamAccount)
  3. Create 2 directories on your Dockernode (/srv/tfds/steamcmd and /srv/tfds/game)
  4. Start the container with the following examples:

Bash:

docker run --rm -i -t -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 -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
      ports:
        - 8766:8766/tcp
        - 8766:8766/udp
        - 27015:27015/tcp
        - 27015:27015/udp
        - 27016:27016/tcp
        - 27016:27016/udp
      volumes:
        - /srv/tfds/steamcmd:/steamcmd
        - /srv/tfds/game:/theforest

Planned features in the future

  • Automated checks for updates based on SteamCMD in a given interval
  • Automated updates based on checks
  • Wrapper around the render server error

Software used

  • Debian Slim Stable
  • Supervisor
  • Xvfb
  • Winbind
  • Wine
  • SteamCMD
  • TheForest Dedicated Server

About

Docker container to easily provision and manage the forest dedicated server with wine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 83.2%
  • Dockerfile 16.8%