-
Hi, I have a caddy-gen setup in a docker-compose. That means I have a Caddy instance serving as a reverse-proxy for other apps running in docker-compose. I need one of the apps to be able to read source addresses, so I need Caddy to have have access to them to be able to pass it in a However, if I set Is there any way to circumvent that? I cannot set it to the pod as docker-compose does not create one. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
slirp4netns port handler is not support with networks (#8193). compose uses networks by default the only way to set slirp and the settings is like you did with |
Beta Was this translation helpful? Give feedback.
slirp4netns port handler is not support with networks (#8193).
compose uses networks by default the only way to set slirp and the settings is like you did with
network_mode: "slirp4netns:port_handler=slirp4netns"
but slirp4netns cannot communicate to other containers via ip.The only way to do this would be port forwarding via the host ip.