Comment on My Overconfidence Killed Me and My Immich Installation

MangoPenguin@lemmy.blahaj.zone ⁨7⁩ ⁨months⁩ ago

So first things first, let’s rename database to immich-database, redis to immich-redis

Docker compose does this for you, so a service named database becomes immich-database if your compose project is named “immich” by placing it inside a folder by that name. You would have ended up with immich-immich-database

most importantly, let’s give it a port that’s not the default postgres port that everyone wants to use. Easy right? Nope.

Since the postgres container is on that specific compose project network, the port is not shared and won’t interfere with any other compose projects, so there’s no need to change it away from the default.

Essentially just undo your changes and it should all work!

source
Sort:hotnewtop