This repository contains the files needed for the image silentmecha/valheim-plus:latest
NB This README still needs to be updated and corrected. This image is not yet complete as the game is still very early access
This stack uses an image from atmoz. To see more on the image used visit thier github https://github.com/atmoz/sftp.
For more info on environment variabes and what they do see Environment Variables
The simplest usage for this is using the docker-compose
method.
git clone https://github.com/silentmecha/valheim-plus.git valheim-server
cd valheim-server
cp .env.example .env
nano .env
docker-compose up -d
git clone https://github.com/silentmecha/valheim-plus.git valheim-server
cd valheim-server
cp .env.example .env
nano .env
docker-compose pull
docker-compose up -d
Updating is still currently in devolpment so once that is sorted this README will be updated. The idea is to allow an image to be updated without needing to either download the full image or rebuilding the image
Variable Name | Default Value | Description |
---|---|---|
SERVER_NAME | Valheim Plus Docker | Name of your server as seen in server browser (accepts spaces) |
PORT | 2456 | Port used to connect to the server |
QUERYPORT | 2457 | Port used to query the server This needs to be $PORT plus 1 as this currently is not setable by the game server |
WORLDPORT | 2458 | Port used to send world data This needs to be $PORT plus 2 as this currently is not setable by the game server |
WORLD | Dedicated | Name of the save file |
SERVER_PASSWORD | secret | Password to enter your server |
ADDITIONAL_ARGS | Currently not used | |
SFT_USER | foo | Username for SFTP access to edit save data |
SFT_PASS | pass | Password for SFTP access to edit save data |
SFT_PORT | 2222 | Port for SFTP access (should not be 22 ) |
For more info on the usage of SFTP see here. If you do not want to use a plane text password see encrypted-password
Currently the following ports are used.
Port | Type | Default |
---|---|---|
PORT | TCP | 2456 |
PORT | UDP | 2456 |
QUERYPORT | TDP | 2457 |
QUERYPORT | UDP | 2457 |
WORLDPORT | TDP | 2458 |
WORLDPORT | UDP | 2458 |
SFT_PORT | TCP | 2222 |
All these ports need to be forwarded through your router except for SFT_PORT
unless you wish to remotely edit the save data.
Currently this is based off of Ubuntu 18.04 as there are known issues with steamcmd and Ubuntu 20.04. Once Ubuntu 20.04 is stable I will update the images