abiosoft / abiosoft/caddy-docker

Allow setting PHP UID and GID via environment variables

未关闭
#234 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Shell
星标
787
派生
303
PR 合并指标
30 天内没有已合并 PR

描述

Running this image and mounting /foo/bar/srv to /srv works fine, until I try to load a php website. I either have to set /foo/bar/srv to 777 or set /foo/bar/srv to UID 1000 manually, otherwise php files won't execute and won't be able to write files.

Having the ability to set the UID and GID to what I use for my Docker images currently would remove the manual steps to get PHP working (I spent tons of time trying to figure out why).

This is on a Synology NAS, tested with a test php file with phpinfo (for read/execute checks) and then with tt-rss, which failed because it required write perms (write checks).

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。