From ff965a4f43108c584bd9484bb1684058fc6b12e1 Mon Sep 17 00:00:00 2001 From: the_minisip Date: Fri, 16 Oct 2026 13:18:15 -0300 Subject: [PATCH] Add Installation --- Installation.md | 207 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 207 insertions(+) create mode 100644 Installation.md diff --git a/Installation.md b/Installation.md new file mode 100644 index 0000000..bee5922 --- /dev/null +++ b/Installation.md @@ -0,0 +1,207 @@ +

Installation

+ +

+ This page explains how to install and deploy the + Managed Valheim server container on TrueNAS SCALE or any + OCI-compatible environment. It covers image selection, environment variables, + volume setup, and initial startup. +

+ +
+ +

1. Choose an Image Version

+ +

+ The container is published to your private registry. Select a versioned tag + for stable deployments: +

+ +
gitea.theminisip.ca/mini-server-manager/managed-valheim:1.0.1.1
+ +

+ You may also use latest, but pinned versions are recommended for + production servers to ensure predictable behavior. +

+ +
+ +

2. Create Required Volumes

+ +

+ The server requires two persistent volumes: +

+ + + +

+ On TrueNAS SCALE, these map to datasets you select during app installation. +

+ +
+ +

3. Configure Environment Variables

+ +

+ The container is fully configurable through environment variables. At minimum, + set the following: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VariableDefaultDescription
SERVER_NAMEValheim ServerName shown in the server browser
WORLD_NAMEDedicatedWorld save name
SERVER_PASSWORDchangemePassword required to join
PUBLIC1Public listing toggle
+ +

+ Backup automation is also configurable: +

+ + + + + + + + + + + + + + + + + + + + + +
VariableDefaultDescription
BACKUP_INTERVAL21600Backup interval (seconds). Default is 6 hours.
BACKUP_RETENTION_DAYS7Days to retain backups before pruning.
+ +

+ Internal directories used by the container: +

+ + + +
+ +

4. Expose Required Ports

+ +

+ Valheim requires three UDP ports: +

+ +
2456/udp
+2457/udp
+2458/udp
+
+ +

+ TrueNAS SCALE will automatically expose these based on your app configuration. +

+ +
+ +

5. Deploy the App on TrueNAS SCALE

+ +

+ To install the server on TrueNAS SCALE: +

+ +
    +
  1. Open Apps → Installed → Add.
  2. +
  3. Select your custom catalog entry for Managed Valheim.
  4. +
  5. Choose the desired image tag (e.g., 1.0.1.1).
  6. +
  7. Configure environment variables.
  8. +
  9. Assign volumes for /config and /backups.
  10. +
  11. Save and deploy.
  12. +
+ +

+ On first startup, the container will: +

+ + + +
+ +

6. Verify Installation

+ +

+ You can verify the server is running by checking: +

+ + + +

+ The server will appear in the Valheim server browser if + PUBLIC=1 is set. +

+ +
+ +

7. Optional: Mod Installation

+ +

+ Mods can be added by placing files into: +

+ +
/opt/valheim/BepInEx/plugins
+ +

+ These files persist across updates because the modded directory is preserved + during the SteamCMD update cycle. +

+ +
+ +

Next Steps

+ +