Siehe auch: NAS Docker-Berechtigungen für Volumes und Docker Bind-Mount Troubleshooting.

services:
  zerobyte:
    image: ghcr.io/nicotsx/zerobyte:latest
    container_name: zerobyte
    restart: unless-stopped
    cap_add:
      - SYS_ADMIN
    ports:
      - "4096:4096"
    devices:
      - /dev/fuse:/dev/fuse
    environment:
      - TZ=Europe/Berlin
      - BASE_URL=http://192.168.2.112:4096 # URL you will use to access Zerobyte
      - APP_SECRET=3b3ec3a1b6e2bc203d628c06f0747b5a # Generate your own secret with `openssl rand -hex 32`
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /var/lib/zerobyte:/var/lib/zerobyte
      - /DATA/AppData:/Docker
      - /media/Storage/:/Storage