Valheim

Valheim

Docker 应用程序 from ich777's Repository

概述

This Docker will download and install SteamCMD. It will also install Valheim and run it. ATTENTION: First Startup can take very long since it downloads the gameserver files! SERVER BROWSER: It could take really long that the server shows up in the in game server list, if you want to connect directly simply go to the Steam Server Browser - View -> Servers -> Favourites -> Add Server -> SERVERIP:SERVERPORT+1 (eg: if the server port is 2456 then you have to enter something like: 192.168.0.1:2457) -> click on Add -> click on more time on Refresh, after that you can connect to the server with a double click. Update Notice: Simply restart the container if a newer version of the game is available. You can also run multiple servers with only one SteamCMD directory!

运行时参数

网络
bridge
外壳
bash
特权
false
额外参数
--restart=unless-stopped

模板配置

SteamCMDPathrw

Container Path: /serverdata/steamcmd

目标
/serverdata/steamcmd
价值
/mnt/user/appdata/steamcmd
ServerFilesPathrw

Container Path: /serverdata/serverfiles

目标
/serverdata/serverfiles
价值
/mnt/cache/appdata/valheim
GAME_IDVariable

The GAME_ID that the container downloads at startup. If you want to install a static or beta version of the game change the value to: '896660 -beta YOURBRANCH' (without quotes, replace YOURBRANCH with the branch or version you want to install).

价值
896660
GAME_PARAMSVariable

Enter your extra start up commands for the server here otherwise leave empty.

Steam-UsernameVariable

Your Steam username goes here if you want to install a game that needs a valid account, otherwise leave it blank (ATTENTION: You have to disable Steam Guard).

目标
USERNAME
Validate InstallationVariable

Set the Variable to 'true' if you want to validate the installation otherwise leave it blank.

目标
VALIDATE
Steam-PasswordVariable

Your Steam password goes here if you want to install a game that needs a valid account, otherwise leave it blank (ATTENTION: You have to disable Steam Guard).

目标
PASSWRD
Server NameVariable

Name of the Server

目标
SRV_NAME
价值
Valheim Docker
World NameVariable

Name of the Server World

目标
WORLD_NAME
价值
Dedicated
Server PasswordVariable

Server Password - ATTENTION: the minimum length is 6 characters!

目标
SRV_PWD
价值
Docker
Public ServerVariable

List Server as Public (set to '0' to disable or set to '1' to enable).

目标
PUBLIC
价值
1
UDP - Game Port RangePortudp

UDP Game Ports (If you need another port delete this Entry and create a new UDP port mapping with the corresponding port range | GAME_PORT +2 | also don't forget to click on show more and change the GAME_PORT)

目标
2456-2458
价值
2456-2458
ValheimPlusVariable

If you want to enable ValheimPlus set this variable to 'true' (without quotes). For more help please refer to this site: https://github.com/nxPublic/ValheimPlus

目标
ENABLE_VALHEIMPLUS
BepInEx for ValheimVariable

If you want to enable BepInEx for Valheim set this variable to 'true' (without quotes). For more help please refer to this site: https://valheim.thunderstore.io/package/denikson/BepInExPack_Valheim/

目标
ENABLE_BEPINEX
BackupVariable

Set this value to 'true' (without quotes) to enable the automated backup function from the container, you find the Backups in '.../valheim/Backups/'. Set to 'false' (without quotes) to disable the backup function.

目标
BACKUP_FILES
价值
true
Backup Interval (in minutes)Variable

The backup interval in minutes (set to 62 minutes because the game automatically saves the database every 30 minutes) ATTENTION: The first backup will be triggered after the set interval in this variable after the start/restart of the container).

目标
BACKUP_INTERVAL
价值
62
Backups to keepVariable

Number of backups to keep (by default set to 24 to keep the last backups of the last 24 hours).

目标
BACKUP_TO_KEEP
价值
24
GAME_PORTVariable

Only change if you know what you are doing (intital GAME_PORT | Dont forget to create create a new UDP port mapping with the corresponding port range and delete the default port range | GAME_PORT +2)

价值
2456
UIDVariable

Only change if you know what you are doing!

价值
99
GIDVariable

Only change if you know what you are doing!

价值
100
Debug Log OutputVariable

Only change if you know what you are doing!

目标
DEBUG_OUTPUT
价值
false
Write Log to FileVariable

This will write the log output to a file, by default to 'valheim.log' to the main directory.br/ ATTENTION: Keep in mind this option will force Debug Log Output no matter what you choose in the above variable.

目标
LOG_OUTPUT
价值
false

下载统计数据

6,558,830
下载总数
27,630
本月
25,839
平均每月

长期下载总量

加载图表...

详细信息

存储库
ghcr.io/ich777/steamcmd:valheim
最后更新2026-02-03
初见2021-02-02

在Unraid 上运行 Valheim 。

Valheim 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。