Add valheim server service

This commit is contained in:
Stephan Porada 2024-02-24 13:27:25 +01:00
parent dc145c3375
commit d2098f25b2
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,17 @@
version: "3"
services:
valheim:
image: ghcr.io/lloesche/valheim-server
cap_add:
- sys_nice
volumes:
- ./config:/config
- ./data:/opt/valheim
ports:
- "2456-2458:2456-2458/udp"
- "9001:9001/tcp"
env_file:
- ./valheim.env
restart: always
stop_grace_period: 2m

View File

@ -0,0 +1,6 @@
SERVER_NAME=YOUR_SERVER_NAME
WORLD_NAME=Dedicated
SERVER_PASS=YOUR_PASSWORD
SERVER_PUBLIC=true
VALHEIM_PLUS=false
BEPINEX=true