Open MayCXC opened 1 month ago
Changed the base to the 2.9 branch (to queue up docs for when we release)
Changed the base to the 2.9 branch (to queue up docs for when we release)
I will add a paragraph about socket activation, fds, how/why they are used, and link all mentions of fd
and fdgram
to it. it would be a good place to link to https://github.com/eriksjolund/podman-caddy-socket-activation too.
I think we could move most of the contents of https://github.com/eriksjolund/podman-caddy-socket-activation to an article, or to the wiki (FYI @eriksjolund)
an article works well, then I can link to that from the fd examples.
I'll try to adjust the material into an article. I'll keep you updated.
Some updates: I wrote an introduction paragraph "Using Caddy with socket activation" (https://github.com/eriksjolund/podman-caddy-socket-activation/?tab=readme-ov-file#using-caddy-with-socket-activation)
It would be nice to have an example that is using a systemd system service (so that there is no need to lower the number /proc/sys/net/ipv4/ip_unprivileged_port_start). I started writing a PR for that
but it's currently work in progress. I am still learning about what is best practice. It looks like --userns=auto
is the preferred way when using rootful Podman (see discussion https://github.com/containers/podman/discussions/13728).
Anyway, if there is a need to use another open source license for https://github.com/eriksjolund/podman-caddy-socket-activation I'm open for changing the license (or maybe just add a second license).
https://github.com/caddyserver/caddy/pull/6573