Sign inSign up

adaliszk/valheim-server

By adaliszk

•Updated about 2 years ago

Valheim Server OCI: Secure, K8s-ready, Mod support, Auto-Backups, Grief-Backups, Clean Logs.

Image
4

10K+

adaliszk/valheim-server repository overview

Clean, fast and standalone Docker & Kubernetes helm deployments.

While there are many other images out there, they tend to fall into the bad habit of using anti-patterns, like using Supervisor and Cron in a single image. The images included here aim to avoid these bad habits, while still offering a full feature-set for managing and monitoring your Valheim Server.

⁠What features do the images have?

  • A fully working Valheim Server without the need of steam downloading anything from the internet.
  • Using a non-root user to mitigate potential vulnerabilities.
  • Gracefully stops the server; enables proper saving before shutdown to avoid world corruption.
  • Automatic Backup of the world files when the server saves them onto the disk.
  • Sanitized server output; say goodbye to the debug noise that is not important!
  • Health-checks to monitor the image's basic status
  • Companion image for monitoring: adaliszk/valheim-server-monitoring⁠

⁠Server:

adaliszk/valheim-server⁠

Alternatives: ghcr.io/adaliszk/valheim-server⁠, quay.io/adaliszk/valheim-server⁠

  • vanilla latest - always the latest stable build of the server
  • 0.212.9 0.212 - the server version released on 20/12/2022
  • bepinex-5.4.1901 bepinex-5.4.19 bepinex-5.4 bepinex - latest server using denkinson's BepInEx⁠ mod loader
  • plus-0.9.9.11 plus-0.9.9 plus-0.9 plus - the latest server using Valheim Plus⁠ mod
  • develop - build any actively testing branch

additionally, there are version prefixed tags from bepinex, and plus variants, so you could specify exactly which server you want to use, like: 0.204.04-bepinex-5.4.1601

docker run -p 2456-2457:2456-2457/udp adaliszk/valheim-server -name "My Server" -password="super!secret"

or

version: "3.8"
services:

  valheim:
    image: adaliszk/valheim-server
    environment:
      SERVER_NAME: "My custom message in the server list"
      SERVER_PASSWORD: "super!secret"
    ports:
      - 2456:2456/udp
      - 2457:2457/udp

More details about using this image⁠

⁠Kubernetes deployment:

helm repo add adaliszk https://charts.adaliszk.io
helm upgrade --install --create-namespace --wait my-valheim-server adaliszk/valheim-server

⁠Monitoring companion:

adaliszk/valheim-server-monitoring⁠

Alternatives: ghcr.io/adaliszk/valheim-server-monitoring⁠, quay.io/adaliszk/valheim-server-monitoring⁠

  • metrics - mtail metrics from the latest server version
  • prometheus - a pre-configured prometheus for docker environments
docker run --name my_server -d -p 2456-2457:2456-2457/udp adaliszk/valheim-server
docker run -d --volumes-from my_server:ro -d -p 3903:3903 adaliszk/valheim-server-monitoring:metrics

or

version: "3.8"
volumes:
  - logs: {}
services:

  valheim:
    image: adaliszk/valheim-server
    environment:
      SERVER_NAME: "My custom message in the server list"
      SERVER_PASSWORD: "super!secret"
    volumes:
      - logs:/logs
    ports:
      - 2456:2456/udp
      - 2457:2457/udp

  metrics:
    image: adaliszk/valheim-server-monitoring:metrics
    volumes:
      - logs:/logs:ro
    ports:
      - 3903:3903

Tag summary

Content type

Image

Digest

sha256:48af00bd1…

Size

1.4 GB

Last updated

about 2 years ago

docker pull adaliszk/valheim-server