Docker container to easily provision and manage Sons of the Forest Dedicated Server with Wine
This includes a Sons of the Forest Dedicated Server based on Docker with Wine and an example config.
We have very detailed instruction in our Wiki page.
If you already hosted some containers, just follow these steps:
/srv/sonsoftheforest/steamcmd
and /srv/sonsoftheforest/game
)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
SKIP_NETWORK_ACCESSIBILITY_TEST: false
ports:
- 8766:8766/udp
- 27016:27016/udp
- 9700:9700/udp
volumes:
- ./steamcmd:/steamcmd
- ./game:/sonsoftheforest
- ./winedata:/winedata