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

Make sure the urls are resolved with the correct host #338

Merged
merged 2 commits into from
Sep 28, 2022

Conversation

tanettrimas
Copy link
Contributor

In some situations, the host were resolved to container ids when running through docker and docker-compose. By explicitly building up the url using the hostname, it will work both when docker does internal networking as well as using localhost.

In some situations, the host were resolved to container ids when running through docker and docker-compose. By explicitly building up the url using the hostname, it will work both when docker does internal networking as well as using localhost.
@tanettrimas tanettrimas requested a review from a team as a code owner September 27, 2022 12:46
Co-authored-by: Per-Christian Nielsen <[email protected]>
Copy link
Contributor

@ybelMekk ybelMekk left a comment

Choose a reason for hiding this comment

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

Hello. Thanks for this PR.

I think this looks delightful 😊

@ybelMekk ybelMekk merged commit 2f4c49d into navikt:master Sep 28, 2022
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.

2 participants