Database hostname hardcoded #74

Closed
opened 2026-02-04 17:19:54 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @kiguigui on GitHub (May 23, 2022).

Hello there,

at first: thank you for this great app!

But it seems that Immich Server has the hostname for Postgres hardcoded so it is mandatory to set container_name in docker-compose and not possible to use a standalone database server.

Is it possible to define an additional ENV-Variable like Database_hostname to define the name of the database server? For Example: Database_hostname=mydatabase.my.domain

Originally created by @kiguigui on GitHub (May 23, 2022). Hello there, at first: thank you for this great app! But it seems that Immich Server has the hostname for Postgres hardcoded so it is mandatory to set container_name in docker-compose and not possible to use a standalone database server. Is it possible to define an additional ENV-Variable like Database_hostname to define the name of the database server? For Example: Database_hostname=mydatabase.my.domain
Author
Owner

@alextran1502 commented on GitHub (May 23, 2022):

Hello the PR #174 is being worked on to work on this issue along with Redis instances :)

@alextran1502 commented on GitHub (May 23, 2022): Hello the PR #174 is being worked on to work on this issue along with Redis instances :)
Author
Owner

@spupuz commented on GitHub (May 23, 2022):

yeah for this reason can't spin up a double istance from scratch, i just have just one server :)

@spupuz commented on GitHub (May 23, 2022): yeah for this reason can't spin up a double istance from scratch, i just have just one server :)
Author
Owner

@kiguigui commented on GitHub (May 23, 2022):

Hey Alex,

ohh i didn't look in the pull requests. Well that sounds great, thank you for your quick reply :)

@kiguigui commented on GitHub (May 23, 2022): Hey Alex, ohh i didn't look in the pull requests. Well that sounds great, thank you for your quick reply :)
Author
Owner

@alextran1502 commented on GitHub (May 24, 2022):

@kiguigui PR #174 has been merged, you can now set your own Redis instance as well as Postgres server.

@alextran1502 commented on GitHub (May 24, 2022): @kiguigui PR #174 has been merged, you can now set your own Redis instance as well as Postgres server.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#74