Skip to content

Instantly share code, notes, and snippets.

@HarlemSquirrel
Last active July 3, 2022 14:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HarlemSquirrel/fd054d3f7756f6e1315f0ea547b846be to your computer and use it in GitHub Desktop.
Save HarlemSquirrel/fd054d3f7756f6e1315f0ea547b846be to your computer and use it in GitHub Desktop.
Valheim Server Docker Compose file
# https://github.com/sorisum/valheim-server-docker
version: "3.9"
services:
valheim:
image: lloesche/valheim-server
volumes:
- /mnt/valheim:/config
- valheim_data:/opt/valheim
ports:
- "2456-2458:2456-2458/udp"
environment:
BEPINEX: 'true'
SERVER_NAME: CHANGEME
SERVER_PASS: CHANGEME
SERVER_PUBLIC: 'true'
WORLD_NAME: CHANGEME
restart: always
volumes:
valheim_data:
##
# Upgrading the image
#
# docker-compose pull
# docker-compose down
# docker-compose up -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment