Comment on Podman Quadlets are so cool
Overspark@feddit.nl 4 weeks ago
If you want to use caddy as proxy for other containers running as quadlets have a look at this repo: github.com/…/podman-caddy-socket-activation
It certainly demystified some network shenanigans for me.
Nico_198X@europe.pub 4 weeks ago
Just want to chime in here to say I use containerized caddy as a reverse proxy with quadlets and did nothing special.
Overspark@feddit.nl 4 weeks ago
Absolutely possible if you keep the network setup simple. However, I run different sets of containers as different users, some of which also use services from the host itself (such as a PostgreSQL instance), and things quickly become more complex in these situations. The examples on the github helped me a lot to realise everything I wanted.
Nico_198X@europe.pub 4 weeks ago
Gotcha, makes sense. Yeah my setup is very straightforward
xinayder@infosec.pub 2 weeks ago
If you have caddy as a reverse proxy inside podman user namespace separated networks, they don’t take the upstream client IP address and instead you get local IP addresses assigned to logs. Socket activation is kinda required if you want to get the client’s real IP address in your logs.