MangoPenguin

joined 1 year ago
[–] MangoPenguin@lemmy.blahaj.zone 10 points 7 months ago (1 children)

Correct yes, each compose project is isolated on its own network as well.

[–] MangoPenguin@lemmy.blahaj.zone 20 points 7 months ago* (last edited 7 months ago) (4 children)

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

Same goes for your volumes.

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. The main thing is each compose project is isolated by itself.

Also get rid of the ports: map for the database, it's already part of the same compose network and does not need a port exposed to the outside.

so I went in and added the IP as the DB_URL to the .env

Don't use IPs to refer to docker containers as they change, instead use the container name so database for example. (Just don't prefix it with the project name, so don't use immich-database for example).

Essentially just undo your changes and it should all work as expected, and will be entirely isolated so won't interfere with any other containers or compose projects you run.

[–] MangoPenguin@lemmy.blahaj.zone 3 points 7 months ago (5 children)

Do you have a nameserver set under System > DNS?

[–] MangoPenguin@lemmy.blahaj.zone 4 points 7 months ago

All DNS blocking is going to be very fast, essentially no real added time.

[–] MangoPenguin@lemmy.blahaj.zone 4 points 8 months ago

Yup it's absolutely horrible all around.

[–] MangoPenguin@lemmy.blahaj.zone 8 points 8 months ago

What's the write speed of your USB stick?

[–] MangoPenguin@lemmy.blahaj.zone 4 points 8 months ago

I know about it but definitely prefer Opnsense for my x86 router.

[–] MangoPenguin@lemmy.blahaj.zone 6 points 8 months ago

That's what good backups are for.

I image all my PCs daily with Veeam, bootable media is on my Ventoy USB stick, and restoring is easy as you just boot up the restore media and it pulls the latest backup over the network.

[–] MangoPenguin@lemmy.blahaj.zone 3 points 8 months ago

I mean if you want that kind of accuracy getting a Fluke setup is probably the way to go. The kill-a-watt is not bad for being $30 or so.

[–] MangoPenguin@lemmy.blahaj.zone 36 points 8 months ago

A Pi 5 8GB is very expensive once you buy the power supply, case, cooling, adapters, etc.. And you're stuck with ARM64 stuff which doesn't support some things.

Personally in your shoes I would spend $80 or so on a USFF PC with an 8th or 9th gen Intel CPU off ebay.

[–] MangoPenguin@lemmy.blahaj.zone 6 points 8 months ago

Nope, there is no legal risk to a password manager because someone used it to fill a password in on a program for piracy.

view more: ‹ prev next ›