18 lines
329 B
YAML
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
|