abiosoft / abiosoft/caddy-docker

Allow setting PHP UID and GID via environment variables

Aperta
#234 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Shell
Stelle
787
Fork
303
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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).

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.