I have the same issue, so let me provide a use case why moving the app's data directory is not such a great usecase. Here is a story to illustrate:
- You are an event photographer. Let's assume you are publishing pictures en-masse using an image editing software like Lightroom
- Lightroom workflow allows pictures to be exported on a NFS/CIFS/SMB share
- You attach the NFS/CIFS/SMB share to the app as a mount
- Immich picks up the images just fine from the external directory (mount)
- The RAW images (masters) are stored separately on a PC or a NAS. They don't need to be on Immich. They are the backup or backed up elsewhere essentially
- You are collecting pictures from other participants from an event and since they are likely not advanced users they will use the upload button
- The upload button uploads images to the app's storage space rather than the mount
- You want import newly uploaded pictures from other people to your Lightroom database and the best method is via a separate NFS/CIFS/SMB share for uploads
- Moving the user uploaded pictures from the app's storage to the mount is not possible from within the app
- Moving the user uploaded pictures from the app's Cloudron file manager to the mount is not practical. Also it might break things.
My point:
- You can't publish pictures and import new pictures easily directly from&to lightroom if everything is in the app's native storage.
- To upload you need to use the upload button or API.
- If you were to choose the launch Immich's API from within Lightroom - after export you can launch a custom script under the "post processing" section, but good luck passing the correct parameters. It will be a nightmare to manage and update.
- Using nextcloud is cumbersome for most people. They need simplicity. A dedicated solution. Also Immich has better sharing features and presentation.
Complications aside, since the metadata could be baked into the pictures via lightroom or phone the Immich Metadata DB is not that precious. It's just an outlet. Exposing the .env could cause severe complications, but the risk is mitigated by other methods already. There should be an option for this with the neccessary disclaimers. Image Pros would appreciate.