Allow tapd REST endpoint to be called from within the Docker network - #1341
Open
jcbrand wants to merge 1 commit into
Open
Allow tapd REST endpoint to be called from within the Docker network#1341jcbrand wants to merge 1 commit into
jcbrand wants to merge 1 commit into
Conversation
to the container's IP and hostname. This makes it possible to call the REST endpoint from within the Docker network and not just from the host.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1341 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 160 160
Lines 6002 6002
Branches 1218 1219 +1
=========================================
Hits 6002 6002 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Owner
Owner
|
@jcbrand Are you still going to work on this PR? |
Contributor
Author
|
Hi @jamaljsr, I was on holiday and am only back at work this week. I'm a bit swamped at the moment and can't look into this right now. Can you please keep this open for a few weeks then I'll try to investigate again and get back to you? |
Owner
|
Ok np. Thanks for the update. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
I've been setting up additional services inside the Polar Docker network and sometimes they need to call the nodes' API.
The certificate generated for tapd has an altname configured for the Docker host's IP address, but not for the docker container itself.
This PR fixes that.
Steps to Test
@jamaljsr If you agree with this change, we should probably do the same for LND as well (and not just LITD).