Hacker News new | ask | show | jobs
by IllIIlIlIlIIIIl 47 days ago
> several things each wanted their own Postgres container. Immich wants a Postgres and a redis instance.

Those things are dirt cheap. A Postgres container on my machine uses 200MB of memory. Redis is nearly free. It's a small price to pay to not have services cross paths with each other and mucking everything up.

2 comments

Postgres can use less RAM than Redis, depending on how much you're putting in Redis. I've got ~150MB database sitting in a Postgres container that's hovering around 13-25MB memory.
Also you don't need a separate container for each of them. Why not run one and have multiple databases in there?