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
Support no Docker proxy by env VIRTUAL_UPSTREAM #1477
base: main
Are you sure you want to change the base?
Conversation
@jwilder @lemker @benchonaut Why isn't this being added? This adds support to proxy containers using
|
I was just about to implement this and found it as open PR. I'm also running the proxy on Some container ports can also be mapped to host's @ccpaging Great work. But indentation is messed up. |
Any idea why Home Assistant needs --net=host? |
From HomeAssistant Docker page:
So it does not need it, and I am kind of getting desperate so I don't mind turning it off once my home is properly configured, but I do like the auto-discovery functionality. For reference for anyone from the future: Traefik explains how it handles this scenario. |
@TimvdEijnden @sausix @prashker we're working on making |
If set env as below:
The default.conf's upstream sections is:
VIRTUAL_HOST and VIRTUAL_UPSTREAM can be used in nginx-proxy container or any other fake container.
VIRTUAL_HOST do not support multiple hosts.
VIRTUAL_UPSTREAM support multiple address and deli with comma ','.