added logs rotation
This commit is contained in:
@@ -14,11 +14,12 @@ services:
|
||||
- 8888:80
|
||||
- 2222:22
|
||||
volumes:
|
||||
- ./www:/data/www
|
||||
- ./data:/data
|
||||
- ./ssh:/ssh # add authorized_keys file here
|
||||
- ./extra_nginx.conf:/etc/nginx/custom.d/extra.conf # optional
|
||||
- ./htpasswd:/app/htpasswd # optional, for webdav auth
|
||||
environment:
|
||||
LOG_DAYS: 14 # default 7
|
||||
WEBDAV_PORT: 8080 # default: 8080
|
||||
PHP: php84 # none (default), php82, php83, php84
|
||||
POSTSIZE: 256M # default: 256M
|
||||
@@ -31,4 +32,4 @@ services:
|
||||
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.
|
||||
The `/data/www` and `/data/logs` directories and their 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