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
Running Caddy Docker Proxy on host networking #432
Comments
Hello, I run mine in network mode host for a few weeks and everything seems to work fine with this docker-compose.yml
|
The container I’m trying to proxy has to be in host network (homebridge), what are the labels to get this to work, as mine in complaining they are not in the same network |
Here is an exemple, my docker-compose for plexmediaserver in host mode networking with caddy-docker-proxy
|
hmm I can try this, but in a container I can't get host.docker.internal to resolve to anything. |
@psyciknz You need to tell the caddy container about the docker host hostname. Taken from @OnigamiSama's example:
|
Hi, is it possible to run caddy-docker-proxy on host networking so I don't need to assign it to same networks as the containers? I used to do that with traefik and wanted to replicate this on cdp but I'm encountering problems as below:
I've setup a basic whoami container for testing purposes, but I am unable to access it
I'm able to access the said container from the host network
My docker compose:
The text was updated successfully, but these errors were encountered: