feat(php-lol): run nginx + php-fpm rootless#317
Draft
Copilot wants to merge 3 commits into
Draft
Conversation
- Remove 'user www-data' directive from nginx.conf (not needed for rootless) - Move PID files to /tmp for nginx, php-fpm, and supervisord - Change nginx listen port from 80 to 8080 (non-root can't bind < 1024) - Remove 'user = root' from supervisord.conf and app.conf - Set php-fpm pool user/group to nobody:nogroup - Change /var/cache/nginx and /var/lib/php/session ownership to 65534:65534 - Add USER 65534:65534 directive in all 4 Dockerfiles - Update EXPOSE from 80/443 to 8080 - Update test checksums for modified config files Agent-Logs-Url: https://github.com/bdossantos/dockerfiles/sessions/4a2f865b-f62a-4d89-92d7-df6224b6e8c6 Co-authored-by: bdossantos <245284+bdossantos@users.noreply.github.com>
Agent-Logs-Url: https://github.com/bdossantos/dockerfiles/sessions/4a2f865b-f62a-4d89-92d7-df6224b6e8c6 Co-authored-by: bdossantos <245284+bdossantos@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
bdossantos
March 30, 2026 09:48
View session
Agent-Logs-Url: https://github.com/bdossantos/dockerfiles/sessions/9c4fbd26-a8d4-4ed3-8303-d67c3c4da409 Co-authored-by: bdossantos <245284+bdossantos@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
.rootlessmarker file todockerfiles/php-lol/action.ymlto detect the marker and append-rootlesssuffixed tags