selfhosted-traefik/valheim-server/docker-compose.yaml
2024-02-24 13:27:25 +01:00

18 lines
329 B
YAML

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