heyer.systems Open Source

Valheim

Dedicated server for Valheim, the Viking survival game – installed and kept current with SteamCMD, with your own world and an optional crossplay mode.

Install

On the Proxmox node as root:

bash -c "$(curl -fsSL https://iac.heyer.systems/valheim/ct.sh)"

Container from the Debian 13 template · default: 2 CPU, 4096 MiB RAM, 8 GiB disk

Customise the commandYour own values for CPU, RAM, network and modules – no dialog

Then: Game: <IP>:2456 (Join game → Add server) – password in the guest: grep valheim_password /etc/iac/settings.env

Settings per instance

SettingMeaning
valheim_server_nameServer name – Name in the server browser (default: the host name)
valheim_worldWorld – Name of the world – a new name creates a new world (default: Dedicated)
valheim_adminsAdmins – Steam IDs (SteamID64) with admin rights, comma separated
valheim_publicPublic – true: listed in the public server browser (default: false)
valheim_crossplayCrossplay – true: Xbox and PC Game Pass players can join – connections go through Microsoft PlayFab (default: false)

When creating a container, as var_<setting>:

var_valheim_server_name="<value>" bash -c "$(curl -fsSL https://iac.heyer.systems/valheim/ct.sh)"

Set or change later, in the guest (for VMs the only way so far): a line valheim_server_name=<value> in /etc/iac/settings.env – no quotes, the last line of a setting wins – then:

update

With NetBox: the same line valheim_server_name=<value> in the field Settings of the VM – it takes effect at the next update. Secrets stay in the guest.

Missing or empty = the app's default. Do not edit the configuration files iac writes – update overwrites them; their first lines name the file for local changes.

Update

In the guest:

update

Debian packages, Valheim, modules and the iac configuration. Major versions never change automatically.

Add modules – any time, in containers and VMs alike:

update --list-modules
update --add-modules node-exporter

All modules · More about update