Search this site
Embedded Files
TheCosmosCorner
  • Home
  • Projects
    • Syrup
      • Mark 1 (Mini-ITX Build)
        • Mk1 Assembly
        • Power Saving Settings (Mini-ITX Board)
        • Why Ubtuntu Server?
        • Installing Ubuntu Server on Syrup
        • Install Docker on Ubuntu Server
      • Mark 2 (ATX Build)
        • 1. Setting up a BTRFS Data RAID Array
        • 2. Synology DS423 to Syrup Data Migration
        • 3. Syrup MK2 Case Assembly
        • 4. Transfering Parts from Syrup MK1 to Syrup MK2
    • Bazzite Box
      • Assembly (Bazzite Box)
      • Install Bazzite OS & Setup
      • Installing EmuDeck on Bazzite
      • Install Cloud Apps on Bazzite (Netflix, Youtube, etc) using EmuDeck
    • Past Projects
      • Intel NUC Gaming Server
        • Installing RAM in the Intel NUC
        • Installing NVME SSD in Intel NUC
        • Install Ubuntu Server on Intel NUC Gaming Server
        • Starting a Valheim World
        • Changing your Valheim Server Seed
        • Valheim Tunnel for External Access
      • Synology DS423
        • Assembly
        • Installation & Setup DS423
        • Adding a Volume Pool
        • Adding 3rd HDD to Synology SHR Configuration
        • Repair a Degraded Disk in Synology OS
        • Setting up Synology's Built In Reverse Proxy
        • Adding Shared Folders in Synology
        • Changing Synology's Default Ports
        • Automatically redirect HTTP connection to HTTPS for DSM desktop
        • Setting up 2 Factor Authentication in Synology
        • Enable QuickConnect on Synology
        • Geo Blocking
        • Installing Tailscale on Synology
        • Setting up Cloud Sync in Synology
        • Install Plex (Manual Method)
        • Enable SSH in Synology
        • Add SSH Keys into Synology NAS
        • Portainer Agent Install Synology (SSH Method)
        • USB File System Mismatch on Synology
        • Factory Resetting a Synology NAS
TheCosmosCorner
  • Home
  • Projects
    • Syrup
      • Mark 1 (Mini-ITX Build)
        • Mk1 Assembly
        • Power Saving Settings (Mini-ITX Board)
        • Why Ubtuntu Server?
        • Installing Ubuntu Server on Syrup
        • Install Docker on Ubuntu Server
      • Mark 2 (ATX Build)
        • 1. Setting up a BTRFS Data RAID Array
        • 2. Synology DS423 to Syrup Data Migration
        • 3. Syrup MK2 Case Assembly
        • 4. Transfering Parts from Syrup MK1 to Syrup MK2
    • Bazzite Box
      • Assembly (Bazzite Box)
      • Install Bazzite OS & Setup
      • Installing EmuDeck on Bazzite
      • Install Cloud Apps on Bazzite (Netflix, Youtube, etc) using EmuDeck
    • Past Projects
      • Intel NUC Gaming Server
        • Installing RAM in the Intel NUC
        • Installing NVME SSD in Intel NUC
        • Install Ubuntu Server on Intel NUC Gaming Server
        • Starting a Valheim World
        • Changing your Valheim Server Seed
        • Valheim Tunnel for External Access
      • Synology DS423
        • Assembly
        • Installation & Setup DS423
        • Adding a Volume Pool
        • Adding 3rd HDD to Synology SHR Configuration
        • Repair a Degraded Disk in Synology OS
        • Setting up Synology's Built In Reverse Proxy
        • Adding Shared Folders in Synology
        • Changing Synology's Default Ports
        • Automatically redirect HTTP connection to HTTPS for DSM desktop
        • Setting up 2 Factor Authentication in Synology
        • Enable QuickConnect on Synology
        • Geo Blocking
        • Installing Tailscale on Synology
        • Setting up Cloud Sync in Synology
        • Install Plex (Manual Method)
        • Enable SSH in Synology
        • Add SSH Keys into Synology NAS
        • Portainer Agent Install Synology (SSH Method)
        • USB File System Mismatch on Synology
        • Factory Resetting a Synology NAS
  • More
    • Home
    • Projects
      • Syrup
        • Mark 1 (Mini-ITX Build)
          • Mk1 Assembly
          • Power Saving Settings (Mini-ITX Board)
          • Why Ubtuntu Server?
          • Installing Ubuntu Server on Syrup
          • Install Docker on Ubuntu Server
        • Mark 2 (ATX Build)
          • 1. Setting up a BTRFS Data RAID Array
          • 2. Synology DS423 to Syrup Data Migration
          • 3. Syrup MK2 Case Assembly
          • 4. Transfering Parts from Syrup MK1 to Syrup MK2
      • Bazzite Box
        • Assembly (Bazzite Box)
        • Install Bazzite OS & Setup
        • Installing EmuDeck on Bazzite
        • Install Cloud Apps on Bazzite (Netflix, Youtube, etc) using EmuDeck
      • Past Projects
        • Intel NUC Gaming Server
          • Installing RAM in the Intel NUC
          • Installing NVME SSD in Intel NUC
          • Install Ubuntu Server on Intel NUC Gaming Server
          • Starting a Valheim World
          • Changing your Valheim Server Seed
          • Valheim Tunnel for External Access
        • Synology DS423
          • Assembly
          • Installation & Setup DS423
          • Adding a Volume Pool
          • Adding 3rd HDD to Synology SHR Configuration
          • Repair a Degraded Disk in Synology OS
          • Setting up Synology's Built In Reverse Proxy
          • Adding Shared Folders in Synology
          • Changing Synology's Default Ports
          • Automatically redirect HTTP connection to HTTPS for DSM desktop
          • Setting up 2 Factor Authentication in Synology
          • Enable QuickConnect on Synology
          • Geo Blocking
          • Installing Tailscale on Synology
          • Setting up Cloud Sync in Synology
          • Install Plex (Manual Method)
          • Enable SSH in Synology
          • Add SSH Keys into Synology NAS
          • Portainer Agent Install Synology (SSH Method)
          • USB File System Mismatch on Synology
          • Factory Resetting a Synology NAS

Previous: Install Docker on Ubuntu Server 

Previous: Install Ubuntu Server on Intel NUC Gaming Server 

Starting a Valheim World on the Intel NUC Gaming Server

#===================================================================================================================================#

Valheim is one of those games that becomes dramatically better when you’re playing on a persistent world with friends. Instead of relying on a player-hosted game that disappears when someone logs off, I wanted to run a dedicated server inside my homelab.

This project was part of my broader experiment building out Docker services behind Traefik on my Ubuntu server.

Why run your own Valheim server?

Running a dedicated Valheim server gives you several advantages:

• The world stays online even when players disconnect

• You control backups and server performance

• You can run it alongside other homelab services

• It’s a great lightweight containerized game server

#===================================================================================================================================#

  • Make a File Structure like the One Below if you want to have multiple Valheim Worlds under your Docker Folder

  • In your docker-compose.yml, here is a very basic configuration that will get your world up and running - you can customize as you wish:

services:

  valheim:

    image: lloesche/valheim-server

    container_name: valheim

    restart: unless-stopped

    ports:

      - "${VALHEIM_PORT}"

    environment:

      - SERVER_NAME=${VALHEIM_SERVER_NAME}

      - WORLD_NAME=${VALHEIM_WORLD_NAME}

      - SERVER_PASS=${VALHEIM_SERVER_PASS}

    volumes:

      - valheim_data:/config

volumes:

  valheim_data:

  • I prefer keeping environment variables in a .env file rather than hardcoding them inside the compose file. This keeps credentials and world configuration easier to manage.

  • Bring your Valheim World up with:

    • sudo docker compose up -d && sudo docker ps

  • Check Logs with:

    • sudo docker logs valheim

If you see this with no errors, try connecting to the server with your <ip>:<port>!

Google Sites
Report abuse
Page details
Page updated
Google Sites
Report abuse