services:
  wimemo-local-connector:
    image: wimemo/local-connector:latest
    container_name: wimemo-local-connector
    restart: unless-stopped
    ports:
      - "8765:8765"
    volumes:
      # Change the left side to your NAS photo/video folders.
      - /volume1/photo:/media/photo:ro
      - /volume1/video:/media/video:ro
      - /volume1/wimemo-local-connector:/data
    command:
      - "-addr"
      - "0.0.0.0:8765"
      - "-media"
      - "/media/photo,/media/video"
      - "-data"
      - "/data"

