Replies: 1 comment
-
Thanks for step-by-step I just cant make it work. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Create a Synology user (let's asume the user created have been named 'username'
Create a folder Structure in your Synology NAS within the /volume1/homes/username like this:
/volume1/homes/username/Immich
/volume1/homes/username/Immich/upload
/volume1/homes/username/Immich/library
/volume1/homes/username/Immich/thumbs
/volume1/homes/username/Immich/encoded-video
Create a new user on Immich and make sure that you assign the username as storage label
Modify your docker-compose.yml to include the following lines withiin the services immich-server and immich-microservices (if used):
volumes:
- /volume1/homes/username/Immich/upload:/usr/src/app/upload/upload/username
- /volume1/homes/username/Immich/library:/usr/src/app/upload/library/username
- /volume1/homes/username/Immich/thumbs:/usr/src/app/upload/thumbs/username
- /volume1/homes/username/Immich/encoded-video:/usr/src/app/upload/encoded-video/username
Recreate the docker and relaunch it
You have to do those steps per each new user that you want to create on Immich.
It would be much easier if Immich dev team could change the storage folder structure to a user level structure, I mean create one folder per user under /usr/src/app/upload like this:
In that way, we should only map one volume per user like this:
And even more clear if the main storage data could be rename to /usr/src/app/storage_data instead of /usr/src/app/upload since it is a bit confusing because that folder does not only cotains upload data, but also thumbs, encoded-video, library, and database backups.
Beta Was this translation helpful? Give feedback.
All reactions