Skip to content

Instantly share code, notes, and snippets.

@mikegreen
Last active February 24, 2021 15:47
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 mikegreen/d621d4b36ecc92753e95c70ebd28afe8 to your computer and use it in GitHub Desktop.
Save mikegreen/d621d4b36ecc92753e95c70ebd28afe8 to your computer and use it in GitHub Desktop.
Valheim docker
# started/using https://github.com/mbround18/valheim-docker
:/opt/docker-configs/valheim-server$ cat docker-compose.yml
version: "3"
services:
valheim:
image: mbround18/valheim:latest
restart: unless-stopped
ports:
- 2456:2456/udp
- 2457:2457/udp
- 2458:2458/udp
environment:
- PORT=2456
- NAME="greenacres"
- WORLD="BananaBoat"
- PASSWORD="****"
- TZ=America/Denver
- PUBLIC=1
- AUTO_UPDATE=0
volumes:
- /opt/docker-configs/valheim-server/valheim/saves:/home/steam/.config/unity3d/IronGate/Valheim
- /opt/docker-configs/valheim-server/valheim/server:/home/steam/valheim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment