I started using Docker containers last week, so this is all new to me.

I have a huge library of pictures in another drive (HDD) on my PC and I tried to setup Immich to index those.

I’m using Windows, Docker is installed on C: drive and I gave Docker permission to check the D: drive, but I can’t make Immich find it when adding an external library.

I edited the yml file, including D:\Pictures but I get an error when trying to add the path in Immich.

Tried to search around, but without luck.

Someone knows how can I do this? Thank you :)

  • lietuva@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    20 hours ago

    im not sure, but maybe when you specify path, docker thinks theres two paths separated by :, also in linux to specify path you use forward slash /, so maybe puting in quote maarks would work, e.g. "D:\Pictures":/pictures/ and then looking for /pictures/ inside the container

    You shohld also try checking logs when adding external library on immich with docker logs --follow immich_server

  • Ada@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 day ago

    Share the volumes section of your docker compose file

    Also, just in case, for pre-existing image collections (rather than one you will manually upload to immich) you need to use the “external libraries” feature in the admin settings. You should be pointing that feature at the docker mount point you have listed in your compose file

  • irmadlad@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 day ago

    Would a samba share work for you? For instance, I have Navidrome setup as a docker container, but the audio is on a NAS drive. So I set the samba share in my Navidrome docker compose, gave permissions, Bob’s your uncle, Jack’s a doughnut. Works great for my purposes.