Skip to content

Adding file path on Synology #204

Discussion options

You must be logged in to vote

Hi @zensphinx thank you!
Because it's running inside a Docker container, you have to write the path from within the container and not the path on the host machine. You have to mount the photos to a path inside the conatiner using Docker volumes. In your docker-compose.yml file under volumes make sure your path is mounted properly, something like this

    volumes:
      - api_cache:/app/cache

      # Change this to the directory where your photos are located on your server.
      # If the photos are located at `/home/user/photos`, then change this value
      # to the following: `/home/user/photos:/photos:ro`.
      # You can mount multiple paths, if your photos are spread across multiple…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@zensphinx
Comment options

Answer selected by viktorstrate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #203 on February 21, 2021 22:02.