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.
To all who didn't know, ERD stands for entity relationship diagram. It's a graphic overview of your database. And this is one of the requirements OP seems to be asking in a tool but unfortunately he refused to explain.
Can you explain what exactly you're looking for? Usually a simple database only requires simple administration, so tools like phpmyadmin and pgadmin are sufficient.
I am not, and this is a very small and generic community, so the members here have limited experience with less-common tools. The more background you can provide, the better.
Have you taken a look at CloudBeaver? I’m not sure I understand what an ERD is but I’ve used this to manage and work with databases before. Pretty easy, UI is not bad at all and it’s self host-able (through docker). I don’t know if it meets your criteria 100% but worth checking out.
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)
I do remember being a bit lost with initial connection to a postgres when I first spun up the app. I clicked around for a few minutes but after than it has been very handy. My use case was extremely basic as I just needed to manipulate some records that I did not know the right query for and to visualize the rows I needed.