Files
pigway-frame-flow/deploy/docker-compose.photos.yml

15 lines
416 B
YAML

# Opt-in read-only photo mount. Set NAS_PHOTOS_DIR to the actual NAS folder.
services:
pigway-frame-flow:
environment:
PHOTO_ROOT: /photos
group_add:
- "${NAS_PHOTOS_GID:-10333}"
volumes:
- type: bind
source: ${NAS_PHOTOS_DIR:?Set NAS_PHOTOS_DIR to your existing photo directory}
target: /photos
read_only: true
bind:
create_host_path: false