This commit is contained in:
parent
bd05bf0768
commit
1b0e896800
@ -13,13 +13,13 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- TZ=America/Los_Angeles
|
- TZ=America/Los_Angeles
|
||||||
- MAX_UPLOAD_SIZE=500M
|
- MAX_UPLOAD_SIZE=500M
|
||||||
- UPLOAD_SECRETS=set me # You can add multiple secrets. Format: secret1,secret2,secret3
|
- UPLOAD_SECRETS=zMxvHmRRjoS4QXQo
|
||||||
- UPLOAD_DIR=./ # The directory to store the uploaded files
|
- UPLOAD_DIR=./
|
||||||
- USE_RANDOM_FILE_NAMES=true # If true, the uploaded files will be renamed to a random string
|
- USE_RANDOM_FILE_NAMES=true
|
||||||
- FILE_NAME_LENGTH=8 # The length of the random file name
|
- SHOULD_CONVERT_TO_WEBP=true
|
||||||
- SHOULD_CONVERT_TO_WEBP=true # If true, the uploaded files will be converted to webp
|
- WEBP_QUALITY=95
|
||||||
- WEBP_QUALITY=95 # The quality of the converted webp files (0-100 -)
|
- WEBP_THREADHOLD=1048576
|
||||||
- WEBP_THREADHOLD=1048576 # The minimum file size to convert to webp (1MB in bytes)
|
- FILE_NAME_LENGTH=8
|
||||||
ports:
|
ports:
|
||||||
- "80:80/tcp"
|
- "80:80/tcp"
|
||||||
volumes:
|
volumes:
|
||||||
|
Loading…
Reference in New Issue
Block a user