Add valheim server service
This commit is contained in:
parent
dc145c3375
commit
d2098f25b2
17
valheim-server/docker-compose.yaml
Normal file
17
valheim-server/docker-compose.yaml
Normal 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
|
6
valheim-server/valheim.env.tpl
Normal file
6
valheim-server/valheim.env.tpl
Normal 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
|
Loading…
Reference in New Issue
Block a user