Error 500 (getaddrinfo ENOTFOUND immich-server) when visiting webpage behind traefik

After setting up immich and replacing the default nginx proxy with traefik, visiting my instance throws me an error 500.

I got my config files from the latest release (v1.72.2)

.env:
DB_HOSTNAME=immich_postgres
DB_USERNAME=postgres
DB_PASSWORD=Ke64guyHorhxDcCV
DB_DATABASE_NAME=immich
REDIS_HOSTNAME=immich_redis
UPLOAD_LOCATION=/mnt/hdd/immich
TYPESENSE_API_KEY=q7uQWasKJ3ApvWCE
PUBLIC_LOGIN_PAGE_MESSAGE=
IMMICH_WEB_URL=http://immich-web:3000
IMMICH_SERVER_URL=http://immich-server:3001
IMMICH_MACHINE_LEARNING_URL=http://immich-machine-learning:3003

Everything else is left commented and on the defaults.
Was this page helpful?