services: zettasend: image: ghcr.io/zemendaniel/zettasend:latest container_name: zettasend restart: unless-stopped network_mode: host environment: # Edit settings here. No .env file is needed. # Match a Linux host user/group with access to your files (id -u / id -g). # Set APP_UID/APP_GID to "0" to run as root/the root group. APP_UID: "1000" APP_GID: "1000" # Required: fill in both passwords. Keep the keyring password across upgrades. # Avoid these characters in passwords to prevent YAML/Compose parsing issues: $ # : " ' \ { } [ ] & * ! and spaces. # Browser password: minimum 6 ASCII characters (the enforced minimum is 6 bytes). VNC_PASSWORD: "" # Keyring password: no enforced minimum; 6+ characters recommended for new volumes. KEYRING_PASSWORD: "" # Optional mounted secret files take precedence over inline passwords. VNC_PASSWORD_FILE: "" KEYRING_PASSWORD_FILE: "" WEB_USERNAME: "zettasend" WEB_BIND: "0.0.0.0" WEB_PORT: "8080" WEB_TLS: "on" # Optional mounted PEM files; empty values generate a persistent certificate. WEB_CERT_FILE: "" WEB_KEY_FILE: "" SCREEN_SIZE: "1920x1080x24" MAX_RESOLUTION: "3840x2160" DISPLAY_SCALE: "1" DISPLAY_FPS: "60" # Uses CPU rendering unless a compatible GPU is mapped below. RENDER_MODE: "auto" # Optional GPU device override; the image already defaults to this path. # DRI_NODE: "/dev/dri/renderD128" # Optional GPU acceleration: compatible Intel/AMD GPUs on Linux (not NVIDIA). # Check the host device and its numeric group: stat -c '%g' /dev/dri/renderD128 # Uncomment devices/group_add and replace "109" with that group ID. # For a different render node, update both paths and uncomment/set DRI_NODE above. # devices: # - /dev/dri/renderD128:/dev/dri/renderD128 # group_add: # - "109" volumes: - type: volume source: zettasend-data target: /data - type: bind source: / target: /my-stuff volumes: zettasend-data: name: zettasend-data