Skip to content

Instantly share code, notes, and snippets.

@Zate
Created May 3, 2022 15:37
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Zate/211304dbae2db307ad213c3a02489f0b to your computer and use it in GitHub Desktop.
Save Zate/211304dbae2db307ad213c3a02489f0b to your computer and use it in GitHub Desktop.
Valheim docker-compose.yaml
version: "3"
services:
valheim:
image: mbround18/valheim:latest
ports:
- "2456:2456/udp"
- "2457:2457"
- "2458:2458/udp"
environment:
PORT: 2456
NAME: "Corgi Butts Drive Me Nuts"
WORLD: "Dedicated"
PASSWORD: "**********************************"
TZ: "America/Chicago"
PUBLIC: 1
AUTO_UPDATE: 1
AUTO_UPDATE_SCHEDULE: "0 1 * * *"
AUTO_BACKUP: 1
AUTO_BACKUP_SCHEDULE: "*/15 * * * *"
AUTO_BACKUP_REMOVE_OLD: 1
AUTO_BACKUP_DAYS_TO_LIVE: 3
AUTO_BACKUP_ON_UPDATE: 1
AUTO_BACKUP_ON_SHUTDOWN: 1
200~WEBHOOK_URL: "https://discord.com/api/webhooks/****************/***********************************"
WEBHOOK_INCLUDE_PUBLIC_IP: 1
UPDATE_ON_STARTUP: 1
ADDRESS: "****.zate.org:2457"
HTTP_PORT: 2457
TYPE: "Vanilla"
AUTO_BACKUP_PAUSE_WITH_NO_PLAYERS: 1
DEBUG_MODE: 0
volumes:
- ./valheim/saves:/home/steam/.config/unity3d/IronGate/Valheim
- ./valheim/server:/home/steam/valheim
- ./valheim/backups:/home/steam/backups
restart: always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment