RUNTIPI_MEDIA_PATH is not used in docker compose files for apps like immich etc..?
Hi, I'm trying to migrate my immich library into my harddisk, so I copied my media directory into my hard disk. mounted it and set the RUNTIPI_MEDIA_PATH.
but it looks like immich docker compose file uses
I've checked run tipi app store and it looks like RUNTIPI_MEDIA_PATH is not used anywhere? not sure if this is expected
7 Replies
@Nicolas @Stavros sorry for tagging, plz help
I'm trying to migrate immich to my hard disk and failed 🥲
You should firstly move the media directory to your disk
Then create a .env.local with runtipi media path pointing to the new location
And start runtipi with --env-file .env.local
Although
This won't place nice with most apps
In my setup I have moved the media directory to my hdd
Then used fstab to do a bind mount back to the original location
Server Fault
How do I do 'mount --bind' in /etc/fstab?
I'm trying to add mount --bind /proc/ /chroot/mysql/proc to /etc/fstab. How can I do this?
Worked beautifully
Much better than symlinks
I did that, but the docker compose file says the volume is relative to the root folder host right?
Not from the environment var of media path.
Yeah
The env was introduced later
So all apps use the root folder host
That's why I'm suggesting the bind mount
Makes sense, I'll give it a shot and report back. Thanks!
Works, I've allocated the entire hdd as media folder. Thanks!