# Hearth 0.1.0 for TrueNAS SCALE apps. Steps: https://hearth-7hb.pages.dev/#nas # Change /mnt/tank/media to your media folder. Hearth sees it as /media. services: hearth: image: madpelsm/hearth-media:0.1.0 restart: unless-stopped ports: - "3000:3000" environment: DATA_DIR: /data PORT: 3000 # Empty for the home network. Behind a reverse proxy: the exact address people open, such as # https://media.example.com. Hearth then accepts sign-ins only at that address. PUBLIC_BASE_URL: "" volumes: - hearth-data:/data - type: bind source: /mnt/tank/media target: /media read_only: true bind: create_host_path: false # Another folder: copy the six lines from "- type: bind" with its own source and a target such # as /tv, then add /tv in Hearth too. group_add: - "568" # the "apps" group, which usually owns media shares stop_grace_period: 20s volumes: hearth-data: