ImmichI
Immich11mo ago
Tjamaker

Description of Evironment Variables not clear

Hello,
I am trying to set up my Immich Intalltion so that all my photos and settings are on my NAS and I can back up these things specifically. I have three questions on how to do the configuration correctly:
I have the following entries in stack.env:
---------------------
PHOTO_LOCATION=/mnt/media/photo
UPLOAD_LOCATION=/mnt/media/photo/immich
THUMB_LOCATION=/mnt/media/photo/immich/thumbs
ENCODED_VIDEO_LOCATION=/mnt/media/photo/immich/encoded-video
PROFILE_LOCATION=/mnt/media/photo/immich/profile
BACKUP_LOCATION=/mnt/backups/immich
---------------------

In the docker-compose.yml I still have these settings:
--------------------
  • ${UPLOAD_LOCATION}:/usr/src/app/upload
  • ${THUMB_LOCATION}:/usr/src/app/thumbs
  • ${ENCODED_VIDEO_LOCATION}:/usr/src/app/encoded-video
  • ${PROFILE_LOCATION}:/usr/src/app/profile
  • ${BACKUP_LOCATION}:/usr/src/app/backups
  • ${PHOTO_LOCATION}:/usr/src/app/photo
    ---------------------
  1. what do the environment variables actually mean? Are they also used elsewhere in immich? Or can I use my own name?
  2. how are the mount commands for the volumes (- ${UPLOAD_LOCATION}:/usr/src/app/upload) to be interpreted? At the front is the directory as it is mounted in Docker, but at the back ....?
  3. further folders appear on my NAS after starting immich, which are created but are empty (dump, images/ private). WHERE do they come from and how can I
Best Regards
Tjamaker
Was this page helpful?