Portainer Docker Compose Configuration Errors But Only When Using Samba Mount
I am running a Ubuntu VM on Proxmox and have Portainer installed. I have a Samba mount to my Ubuntu VM which is really my Synology NAS. I have other docker containers which do something similar but Immich doesn't like something.
If I have the UPLOAD_LOCATION and the DB_DATA_LOCATION in the stack.env use ./library and ./postgres. The system starts up just fine.
If I point those locations to my Samba mount location (/mnt/media/etc...) I get errors in the Immich Server logs below. The server just seems to keep restarting. I have other docker containers on the same server using the same /mnt/media/etc. without a problem so I'm confused. Any ideas would be appreciated.
Initializing Immich v1.134.0 Detected CPU Cores: 4 Starting api worker Starting microservices worker [Nest] 8 - 06/11/2025, 1:04:42 PM LOG [Microservices:EventRepository] Initialized websocket server [Nest] 18 - 06/11/2025, 1:04:43 PM LOG [Api:EventRepository] Initialized websocket server /usr/src/app/node_modules/postgres/cjs/src/connection.js:388 if (!query !query.reject) throw err ^ Error: getaddrinfo ENOTFOUND database at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) { errno: -3008, code: 'ENOTFOUND', syscall: 'getaddrinfo', hostname: 'database' } Node.js v22.14.0 microservices worker error: Error: getaddrinfo ENOTFOUND database, stack: Error: getaddrinfo ENOTFOUND database at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) microservices worker exited with code 1 Killing api process