mirror of
https://github.com/timvisee/send-docker-compose.git
synced 2025-12-08 15:00:55 +03:00
update example environment variable config for upload limits
This commit is contained in:
@@ -15,6 +15,7 @@ services:
|
|||||||
- proxy-certs:/etc/nginx/certs:ro
|
- proxy-certs:/etc/nginx/certs:ro
|
||||||
- proxy-vhost:/etc/nginx/vhost.d
|
- proxy-vhost:/etc/nginx/vhost.d
|
||||||
- proxy-html:/usr/share/nginx/html
|
- proxy-html:/usr/share/nginx/html
|
||||||
|
|
||||||
proxy-letsencrypt:
|
proxy-letsencrypt:
|
||||||
image: 'jrcs/letsencrypt-nginx-proxy-companion'
|
image: 'jrcs/letsencrypt-nginx-proxy-companion'
|
||||||
restart: always
|
restart: always
|
||||||
@@ -27,6 +28,7 @@ services:
|
|||||||
- proxy-certs:/etc/nginx/certs
|
- proxy-certs:/etc/nginx/certs
|
||||||
- proxy-vhost:/etc/nginx/vhost.d
|
- proxy-vhost:/etc/nginx/vhost.d
|
||||||
- proxy-html:/usr/share/nginx/html
|
- proxy-html:/usr/share/nginx/html
|
||||||
|
|
||||||
send:
|
send:
|
||||||
image: '${DOCKER_SEND_IMAGE}'
|
image: '${DOCKER_SEND_IMAGE}'
|
||||||
restart: always
|
restart: always
|
||||||
@@ -56,14 +58,16 @@ services:
|
|||||||
# - S3_USE_PATH_STYLE_ENDPOINT=true
|
# - S3_USE_PATH_STYLE_ENDPOINT=true
|
||||||
|
|
||||||
# To customize upload limits
|
# To customize upload limits
|
||||||
# - ANON_MAX_EXPIRE_SECONDS=604800
|
# - EXPIRE_TIMES_SECONDS=3600,86400,604800,2592000,31536000
|
||||||
# - MAX_EXPIRE_SECONDS=604800
|
# - DEFAULT_EXPIRE_SECONDS=3600
|
||||||
# - ANON_MAX_DOWNLOADS=20
|
# - MAX_EXPIRE_SECONDS=31536000
|
||||||
# - MAX_DOWNLOADS=20
|
# - DOWNLOAD_COUNTS=1,2,5,10,15,25,50,100,1000
|
||||||
# - ANON_MAX_FILE_SIZE=2684354560
|
# - MAX_DOWNLOADS=1000
|
||||||
# - MAX_FILE_SIZE=2684354560
|
# - MAX_FILE_SIZE=2684354560
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: 'redis:alpine'
|
image: 'redis:alpine'
|
||||||
|
command: redis-server --appendonly yes
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- send-redis:/data
|
- send-redis:/data
|
||||||
|
|||||||
Reference in New Issue
Block a user