-
Notifications
You must be signed in to change notification settings - Fork 823
Companion for the separated networks #571
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Hi Thanks for your input.
I started to work on multiple
I'm not sure I understand what you mean. If the letsencrypt-companion was able to handle multiple This being said, my implementation of multi Your suggested modification is interesting, and might be complementary to |
I deploy nginx-proxy for each IP address separately, so I have multiple directories named If
With the approach I've suggested, we still have to handle every single up/down event, but if the event does not belong to a container that shares the same network with
Yes, we can either make it optional, but considering |
[In what I was aiming for] reconfiguring the But your point about having everything clean and separated in different compose files is valid nonetheless. My only real concern about running a separate
My take on this is that multi container support is rather a feature that also happen to "solve" this issue in a way, rather than a different approach to the same problem. Both might be useful.
You point is entirely valid, but experience tells me that most people appear to be using And I don't want to bump major release number until we switch to |
It's a surprise for me. Are we talking about the consumption of significant resources?
My experience fully supports your opinion :) Ok, do you want me to prepare a pull request with the suggested approach and introduce an option |
In
I don't really have more substantial metrics. |
So do you want me to create a PR? |
@SilverFire sorry, I totally forgot this issue, yes a PR would be welcome. We'll discuss the env var exact name in the PR if it's ok with you. |
No problem. I'm on vacation right now but will do a PR in a few weeks. |
Hi @SilverFire Have you been testing this since it's been merged to |
Yes, works as expected. Created a PR #703 to fix merge conflicts and prepare |
Hi, team! Thank you for your efforts in making and supporting this repository!
I've seen a request to make docker-letsencrypt-nginx-proxy-companion respect the connected networks in order to have multiple separate nginx-proxy installations running on the same host. It is useful for cases when you have multiple external IP addresses on the host and you need to distribute running services between them.
Currently, jwilder/nginx-proxy generates vhosts.conf only out of containers that are in the same network with it, but docker-letsencrypt-nginx-proxy-companion tries to generate certificates for all running containers.
Having a single docker-letsencrypt-nginx-proxy-companion for all nginx-proxy containers might be a solution, but companion can manage only a single nginx proxy service, but going this way makes the proxy service not complementary: I have to run either multiple nginx-proxies and deploy letsencrypt-companion somewhere else.
I suggest to limit letsencrypt_service_data.tmpl to nginx containters that share the same network only. I've added this thing a few years ago and it works in production for a long time without any issues.
If you think this change is acceptable, I can create a pull request.
The text was updated successfully, but these errors were encountered: