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.19k stars 178 forks source link

Suport for using SSH connections in DB #6

Open vmgeremias opened 2 weeks ago

vmgeremias commented 2 weeks 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 2 weeks 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 2 weeks 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 week ago

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