--- version: '3.4' services: valheim: image: ghcr.io/lloesche/valheim-server restart: unless-stopped volumes: - /docker/valheim/config:/config - /docker/valheim/data:/opt/valheim environment: - SERVER_NAME=Muj novy server (dedikovany) - WORLD_NAME=Dedicated - SERVER_PASS=heslo - PUID=1000 - PGID=100 ports: - "2456-2457:2456-2457/udp" cap_add: - SYS_NICE