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
version: '3.7'
services:
immich:
container_name: immich
image: ghcr.io/immich-app/immich-server:v1.138.1
volumes:
- ${ROOT_FOLDER_HOST}/media/data/images/immich:/usr/src/app/upload
version: '3.7'
services:
immich:
container_name: immich
image: ghcr.io/immich-app/immich-server:v1.138.1
volumes:
- ${ROOT_FOLDER_HOST}/media/data/images/immich:/usr/src/app/upload
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
Bharat Kalluri
Bharat KalluriOP3d ago
@Nicolas @Stavros sorry for tagging, plz help I'm trying to migrate immich to my hard disk and failed 🥲
Stavros
Stavros3d ago
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
Stavros
Stavros3d ago
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?
Stavros
Stavros3d ago
Worked beautifully Much better than symlinks
Bharat Kalluri
Bharat KalluriOP3d ago
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.
Stavros
Stavros3d ago
Yeah The env was introduced later So all apps use the root folder host That's why I'm suggesting the bind mount
Bharat Kalluri
Bharat KalluriOP2d ago
Makes sense, I'll give it a shot and report back. Thanks! Works, I've allocated the entire hdd as media folder. Thanks!

Did you find this page helpful?