eduardolat / pgbackweb

🐘 Effortless PostgreSQL backups with a user-friendly web interface! 🌐💾
MIT License
935 stars 45 forks source link

Using ssh tunnel to access DB #5

Closed alex-grandson closed 2 months ago

alex-grandson commented 3 months ago

This might be the case when DB hosted locally without exposed ports like in docker compose with postgres service ports like 127.0.0.1:5432:5432. I understand that this is not a high priority right now, but it would be very cool to have such functionality. Also it would be nice to have an opportunity to load private ssh key or use log/pass methods on choice. Thanks

eduardolat commented 3 months ago

If your postgres is on the same server you can use docker networking to connect without having to expose the port outside the server