run php with dedicated user
This commit is contained in:
@@ -24,6 +24,10 @@ services:
|
||||
PUID: 1000 # default: 1000
|
||||
PGID: 1000 # default: 1000
|
||||
TZ: Etc/UTC # default: Etc/UTC
|
||||
FPM_MAX_CHILDREN: 5 # default: 5
|
||||
FPM_START_SERVERS: 1 # default: 1
|
||||
FPM_MIN_SPARE_SERVERS: 1 # default: 1
|
||||
FPM_MAX_SPARE_SERVERS: 3 # default: 3
|
||||
```
|
||||
|
||||
The `/data/www` directory and its contents will be chowned to `$PUID:$PGID` and chmodded to `0755` for directories and `0644` for files at container start.
|
||||
|
||||
Reference in New Issue
Block a user