I
Immich2y ago
Ozzi

NFS Mount

First of all - my setup. Proxmox -VM Ubuntu Server-Immich by docked-compose. I created a volume by PORTAINER UI where Mount path is /var/lib/docker/volumes/nfs-volumes/_data - i dont know how to check is succesfuly mounted :/ In .env file i changed only UPLOAD_LOCATION=/var/lib/docker/volumes/nfs-volumes/_data In docker-compose.yml - nothing. And i run docker-compose up -d It started, working but photos are saved where instance is running, not on added volume. What is wrong?
No description
3 Replies
Eazy E
Eazy E2y ago
Can you provide your docker-compose file? Or at least the section that shows your volume mounts?
Ozzi
OzziOP2y ago
volumes: pgdata: model-cache: tsdata: and more info, i am uisng login and password to access nfs @Eazy E
Eazy E
Eazy E2y ago
You can test if it's working by going into the docker container and seeing if the Mount path worked. But you should be able to reference the docker volume directly instead of the path of the volume. So whatever the volume name you created in Portainer, you should then be able to put in your compose file as the container path. Replace ${UPLOAD_LOCATION} with your docker volume created in portainer. Try that, but then exec into the container to confirm the volume was mounted.

Did you find this page helpful?