briefercloud / briefer

Dashboards and notebooks in a single place. Create powerful and flexible dashboards using code, or build beautiful Notion-like notebooks and share them with your team.
https://briefer.cloud
GNU Affero General Public License v3.0
3.46k stars 198 forks source link

Suport for using SSH connections in DB #6

Open vmgeremias opened 1 month ago

vmgeremias commented 1 month ago

Currently, it is not possible to connect DB with an SSH connection like DBever. I have some projects that I can only access with SSH. Is there a way to implement this feature in the future?

vieiralucas commented 1 month ago

Hi @vmgeremias thank you so much for the issue!

Yes, it is definitely possible to support connecting to datasources via an ssh-tunnel. What is the datasource you're looking to connect through ssh? Is it PostgreSQL, MySQL, which one?

If I give you some guidance, are you willing to try to implement it and open a PR?

vmgeremias commented 1 month ago

In my case, I use MySQL, but maybe using an interface is a better approach. Sure! I can give it a try.

marquesine commented 1 month ago

@vmgeremias I have the exact same use case. Would be nice to have ssh-tunnel implemented.