Skip to content
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

Enable passing hostnames instead of IPs #45

Merged
merged 1 commit into from
Feb 25, 2024
Merged

Conversation

julianoes
Copy link
Collaborator

We can use getent hosts and awk to figure out the IP from a hostname. This is helpful when using the docker image as part of a docker compose setup with bridge network instead of host network.

Closes #30.

We can use `getent hosts` and `awk` to figure out the IP from a
hostname. This is helpful when using the docker image as part of a
docker compose setup with bridge network instead of host network.

Signed-off-by: Julian Oes <[email protected]>
Copy link
Owner

@JonasVautherin JonasVautherin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@JonasVautherin JonasVautherin merged commit 8ba0d0c into master Feb 25, 2024
1 check passed
@julianoes julianoes deleted the pr-hostname-to-ip branch February 27, 2024 16:18
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.

Custom hostnames and ports
2 participants