• 1 Post
  • 8 Comments
Joined 1Y ago
cake
Cake day: Jul 04, 2023

help-circle
rss

No problem, the mode you are looking for is called Bridge Mode, and what you’ll need to ensure your setup is, is:

ISP -> ISP Router -> Your Router -> Rest of the network

It’s crucial you only have your router as the only thing plugged into the ISP Router, and you want it to be typically plugged into port 1. You’ll need to either look up the paperwork or talk to your ISP about how bridge mode works for their modem model.

Keep in mind once bridge mode is enabled on the ISP router, it loses its wifi network so the only way after you can connect to it to configure it is by a physical connection, so if you mess it up you’ll need to have a laptop or smartphone you can physically connect via ethernet to port 1 of the isp router to be able to access its interface again.

But once you get bridge mode working your private router will now get a public IP assigned to it instead and it will act as the “real” router of your network.


You will need to open some ports, but ideally you just open up 1 port for a VPN and call it a day.

If you want a really easy solution you can buy one of the mid to high end routers that comes with a built in OpenVPN you can enable, and you just do the process to have it be the router for your network (usually by setting your modem to pass through mode and then have your personal router immediately next in line, and it becomes the actual router of the network)

If you do a search you should find a few decent models out there with OpenVPN support, and then its just a matter of enabling the feature in the router’s interface and following its guide and then installing OpenVPN on your mobile phone(s)


I was able to connect to the DB with Cloudbeaver, but it straight up wasn’t providing the diagram tab in the way the picture said it outta. The example pic even specifically is using a postgres DB as its example!

I pretty much had the exact same view, but no diagram tab. Unfortunately the wiki article doesn’t go into much detail, it just says:

“(if the tab is not presented then the object does not support the diagram presentation)”

With no information provided further listing off what is, and is not, supported for diagram presentation.

Lack of documentation it seems, which is unfortunate. It seemed like it has potential but I spent a good 20 minutes fiddling with it, trying different configurations and settings, nothing made it start working and it seems like (as is the case on a few of these tools) the ERD tooling is often a bit of an afterthought and poorly supported.

Many of the tools are sql first, ERD… third? fourth? forgotten and lacking most features :(


Trying it out, the wiki says it has an ERD editor, but its documentation is kind of lacking.

It’s example image here: https://github.com/dbeaver/cloudbeaver/wiki/Entity-Diagrams

Shows it interacting with a postgres database, but when I try the same I am not getting a Diagram tab. Its also proving to be pretty awkward to try and work with.

So far best I have found is Azimutt, which is pretty close to what I want but its interface is lacking atm, and I couldnt get it to successfully connect to my postgres database in the end (kept giving NOT FOUND errors even though I tested inside the docker image to validate the connection and it could indeed TCP the postgres database’s port)


Let me know what specific questions you have that my post did not cover and I can try and help out.

I feel like I specified exactly what I am looking for and even gave some examples of existing (non self hosted) tools, so not sure what else to add.


Are you familiar with what an ERD is, with respect to database management?

Have you used tools like Luna/Moon, Navicat, Visual Paradigm, etc?

Im looking for such a tool, but self hosted via docker in the form of a Web App.


Self Hosted Database ERD Manager?
Im looking for some form of self hosted application, ideally dockerized(able), that can connect to and manage an existing database (Im not picky on the DB type, Postgres prolly best though). However Id like if it manages it via a nice well designed ERD. The closest I have found so far is PgAdmin but unfortunately it's ERD leaves a lot to be desired. It's kinda clunky, and it cant "diff" against your existing database to produce a migration script, all it can do is produce a script that expects you to totally drop the existing DB and re-apply the schema from scratch. Something like Luna/Moon would be cool, but every example I look up seems to be an application you install locally on your machine and interact with directly, as opposed to a web interface. If you know of such a tool let me know!
fedilink

I have a K3OS cluster built out of a bunch of raspberry pis, it works well.

The big reason I like kubernetes is that once it is up and running with git ops style management, adding another service becomes trivial.

I just copy paste one if my e is ting services, tweak the names/namespaces, and then change the specific for the pods to match what their docker configuration needs, ie what folders need mounting and any other secrets or configs.

I then just commit the changes to github and apply them to the cluster.

The process of being able to roll back changes via git is awesome


When the raspberry pi (running pi hole) is down for any reason

You can have 2 DNS servers provided over DHCP assignment, if this is really an issue for you (ideally it shouldnt) you should be running 2x PiHoles for failover protection, that way you can take 1 offline and all devices will auto swap to the second one for DNS.

This will also horizontally scale your DNS querying, as devices will just 50/50 flip flop between the two while both are online and it will sort of auto-load balance.

Largely speaking thats your best bet though, just 2x PiHoles for failover protection.

For DHCP just use one of the pi-holes DHCP, or your routers, or whatever, they all largely perform the same but I personally find the pi-hole’s DHCP settings to be easiest to work with (you can even super fast modify them by SSHing in and using nano/vim to text edit the config file, so instead of using a UI you can just copy-paste all the entries in quickly)

If you need to take the DHCP pi-hole offline, you can just flip DHCP on for the second one, however as long as new devices arent connecting you don’t actually need the DHCP server online once everyone has an IP assigned until their registration time is up (24 hours by default) so as long as you get the pi-hole back online quickly, you’re network typically wont even have a problem.