Need help with setting up Immich

Hi Team,
I am trying to spin up Immich using docker compose but facing an error as below:

Initializing Immich v1.135.3
Detected CPU Cores: 8
Starting api worker
Starting microservices worker
[Nest] 7  - 07/18/2025, 4:59:06 PM     LOG [Microservices:EventRepository] Initialized websocket server
[Nest] 19  - 07/18/2025, 4:59:06 PM     LOG [Api:EventRepository] Initialized websocket server
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


I will be sharing the docker-compose and .env below.
Was this page helpful?