Skip to content

DB port forwarding #967

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
raphaeltm opened this issue Jan 27, 2025 · 1 comment
Open

DB port forwarding #967

raphaeltm opened this issue Jan 27, 2025 · 1 comment
Labels
DX Affects developer experience enhancement New feature or request
Milestone

Comments

@raphaeltm
Copy link
Collaborator

Something like this would be really helpful:

defang service forward <my-db-name>

I'm thinking specifically in the context of a database where you may only have exposed it to the internal network, but want to connect to it to debug or view data.

This command could do something like spin up a temporary container for the duration of the command which allows traffic from the user's machine and acts as a tunnel through to the db.

@Prakash-Sundaresan Prakash-Sundaresan added DX Affects developer experience enhancement New feature or request labels Jan 27, 2025
@Prakash-Sundaresan Prakash-Sundaresan added this to the Mar2025 milestone Jan 27, 2025
@lionello lionello modified the milestones: Mar2025, Apr2025 Apr 1, 2025
@lionello
Copy link
Member

lionello commented Apr 7, 2025

The user could add an SSH host to their own (development) Compose file, perhaps even in a Compose debug profile, so it's not deployed normally. Least we can do is document this?

@lionello lionello modified the milestones: Apr2025, V2 Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DX Affects developer experience enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants