Immich Database expected to be "immich_postgres" - ERR_BAD_RESPONSE thrown when not named this
Opened this issue · 1 comments
I name my core Immich Stack as "immich-app_server", "immich-app_postgres" etc. to differentiate between Immich itself and all the amazing community tools (Kiosk, Power Tools).
When deploying the Immich Power Tools container, I could not avoid the ERR_BAD_RESPONSE error unless I changed my Postgres container to the original Immich name of "immich_postgres" - this immediately solved the issue with no other changes.
I suspect this value is hardcoded in somewhere rather than being pulled in.
Hey @HenryDParker, if you're using a different container name for your Immich database, you can specify it using an environment variable. We set "immich_postgres" as the default because it's the name given by the Immich team in their Docker Compose file, and we assumed most users would keep it as is. You can configure it like this:
DB_HOST = <container-name>