8000 fix: changed container hostname by faekiva · Pull Request #50 · lawndoc/stack-back · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: changed container hostname #50

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
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

faekiva
Copy link
@faekiva faekiva commented Jun 10, 2025

Hello!

This PR fixes an issue with database backups when the databases are using another container's networking, as is done with tailscale containers (ie, with network_mode: service:<service_name> syntax).

In those instances, the container ID doesn't work as a hostname, since a different container is actually the host traffic is traveling through, so I set it to grab the hostname from the container config instead.

Most of the line changes are formatting changes caused by my editor automatically running black on the file. I can make a more precise change in vim if you prefer, I'd also be happy to make a PR that adds black or ruff (by the uv maintainers) to uv/the workflow more generally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0