docker-compose/valheim-server/docker-compose.yml

20 lines
600 B
YAML
Raw Permalink Normal View History

2024-12-08 13:48:35 +02:00
services:
valheim-server:
# container_name: valheim-server
cap_add:
- sys_nice
stop_grace_period: 120s
ports:
- 2456-2457:2456-2457/udp
volumes:
- /docker/valheim-server/config:/config
- /docker/valheim-server/data:/opt/valheim
environment:
- SERVER_NAME=Palheim
- WORLD_NAME=Grovelands
- SERVER_PASS=systemofpurrs
- SERVER_PUBLIC=false
- RESTART_IF_IDLE=true
- TZ=Europe/Stockholm
image: ghcr.io/lloesche/valheim-server