Skip to content

jammsen/docker-sons-of-the-forest-dedicated-server

Repository files navigation

Docker - Sons of the Forest Dedicated Server

This includes a Sons of the Forest Dedicated Server based on Docker with Wine and an example config.

Do you need support for this Docker Image

  • What to do?
    • Feel free to create a NEW issue
      • It is okay to "reference" that you might have the same problem as the person in issue #number
    • Follow the instructions and answer the questions of people who are willing to help you
    • If your issue is done, close it
      • I will Inactivity-Close any issue thats not been active for a week
  • What NOT to do?
    • Dont re-use issues!
      • You are most likely to chat/spam/harrass thoose participants who didnt agree to be part of your / a new problem and might be totally out of context!
    • If this happens, i reserve the rights to lock the issue or delete the comments, you have been warned!

What you need to run this

  • Basic understanding of Docker, Linux and Networking (Port-Forwarding/NAT)

Getting started

  1. Create 2 sub-directories on your Dockernode in your game-server-directory (/srv/sonsoftheforest/steamcmd and /srv/sonsoftheforest/game)
  2. Setup Port-Forwarding or NAT for the ports in the Docker-Compose file
  3. Start the container with the following examples:

Bash:

docker run --rm -i -t -p 8766:8766/udp -p 27016:27016/udp -p 9700:9700/udp -v $(pwd)/steamcmd:/steamcmd -v $(pwd)/game:/sonsoftheforest --name sons-of-the-forest-dedicated-server jammsen/sons-of-the-forest-dedicated-server:latest

Docker-Compose:

version: '3.9'
services:
  sons-of-the-forest-dedicated-server:
    container_name: sons-of-the-forest-dedicated-server
    image: jammsen/sons-of-the-forest-dedicated-server:latest
    restart: always
    environment:
      ALWAYS_UPDATE_ON_START: 1
    ports:
      - 8766:8766/udp
      - 27016:27016/udp
      - 9700:9700/udp
    volumes:
      - ./steamcmd:/steamcmd
      - ./game:/sonsoftheforest
      - ./winedata:/winedata

Planned features in the future

  • Feel free to suggest something

Software used

  • Debian Slim Stable
  • Xvfb
  • Winbind
  • Wine
  • SteamCMD
  • SonsOfTheForest Dedicated Server (APP-ID: 2465200)

About

Docker container to easily provision and manage Sons of the Forest Dedicated Server with Wine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published