16 lines
309 B
YAML
16 lines
309 B
YAML
services:
|
|
valheim:
|
|
image: clarkent86/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
|