dunglas / frankenphp

🧟 The modern PHP app server
https://frankenphp.dev
MIT License
6.96k stars 244 forks source link

docs: update instructions for xcaddy in Dockerfile #1170

Closed aleho closed 4 days ago

aleho commented 1 week ago

Is XCADDY_SETCAP=1 is still needed / required?

In my test builds it didn't seem to make any difference (truth be told, I simply forgot to add it when testing env vars from the compile instructions).

Refs #1157

dunglas commented 4 days ago

Yes, XCADDY_SETCAP=1 is necessary to let the process bind on ports 80/443 when running in rootless mode.

dunglas commented 4 days ago

Thank you!