File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,17 @@ The container runs the standard production php.ini. Some options can be set via
4444
4545Custom PHP configuration values can be set in a ` php.ini ` file in the storage volume.
4646
47+ ## Permissions
48+
49+ When the container is started without setting an explicit user id (as the compose file suggests), the image will start as
50+ ` root ` (uid:` 0 ` gid:` 0 ` ) and Apache will drop privileges to ` www-data ` (uid: ` 33 ` gid:` 33 ` ). Before this happens, the
51+ entrypoint script will use the ` root ` privileges to recursively chown everything in ` /storage ` to ` 33:33 ` .
52+
53+ When started with any other user id, the whole container will run under that id. You have to ensure that anything mounted
54+ to ` /storage ` is writable by that uid.
55+
56+ The entry script will print some info about it's effective uid and gid during container start.
57+
4758## Farming
4859
4960This image supports farming via the [ farmer plugin] ( https://www.dokuwiki.org/plugin:farmer ) . To use it, install the
You can’t perform that action at this time.
0 commit comments