ImmichI
Immich11mo ago
elco

Help with setting up Immich on a VM within Proxmox

Hi, I originally started immich on an LXC running docker. This is not supported and i think ive understood why... too many issues!

I have now decided to go the VM supported route, spun up a VM with docker. To pass my /upload location which is a dataset on my hdd array, I have mounted an NFS mount point. /mnt/immich-library. My NFS server is actually on the Proxmox PVE itself,

UPDATE
: I have fixed the permissions issue, I am now able to start up immich and I can sucesfully see the mount mounted onto it. However .... immich has decided to create all the files in the mount location when ive explicitly told it to use the current installed directory where it was installed in ....

UPDATE 2: Ok it seems immich creates all the folders even in the upload location, but it seems to only write the encoded videos / thumbs onto the library within the docker install, is this behaviour expected, I would ONLY like the mount to have the actual RAW pictures?

.env file:
# The location where your uploaded files are stored
UPLOAD_LOCATION=/mnt/immich-library
THUMB_LOCATION=./library/thumbs
ENCODED_VIDEO_LOCATION=./library/encoded-video
PROFILE_LOCATION=./library/profile
BACKUP_LOCATION=./library/backups

docker-compose.yml
volumes:
  # Do not edit the next line. If you want to change the media storage loca>
  - ${UPLOAD_LOCATION}:/usr/src/app/upload
  - ${THUMB_LOCATION}:/usr/src/app/upload/thumbs
  - ${ENCODED_VIDEO_LOCATION}:/usr/src/app/upload/encoded-video
  - ${PROFILE_LOCATION}:/usr/src/app/upload/profile
  - ${BACKUP_LOCATION}:/usr/src/app/upload/backups
  - /etc/localtime:/etc/localtime:ro

my mounted folder (on PVE HOST):
/tank/library#        backups  encoded-video  library  profile  thumbs  upload

my immich-app folder (on VM):
/immich-app/library#  backups  encoded-video  profile  thumbs
Was this page helpful?