Why ExtraHosts in Docker pushed as `172.18.0.1`?
-
if (manifest.id !== 'com.adguard.home.cloudronapp') containerOptions.HostConfig.ExtraHosts.push(`${dashboardFqdn}:172.18.0.1`);in docker.js:698 you have the code from below - I understand you are trying to work around the cases, when my.domain.com is defined via /etc/hosts to be something weird.
But why don't you push the public IP address?
In my specific case, Cloudron is behind a kind of WAF and that WAF is taking care on the SSL certificates, so any connections to
172.18.0.1are just failing due to SSL issues (and Synapse, for example, can't start due to OIDC issue).And a question/ask: can you change that to the Cloudron IP please? It shouldn't be difficult, as you it as a variable already.
-
or, could you just make it optional?
In my specific case I just commented out the string to let the apps running.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login