ready to be tested
This commit is contained in:
@@ -31,26 +31,44 @@ services:
|
||||
# - proxy-html:/usr/share/nginx/html
|
||||
|
||||
send:
|
||||
image: '${DOCKER_SEND_IMAGE}'
|
||||
# image: '${DOCKER_SEND_IMAGE}'
|
||||
image: registry.gitlab.com/timvisee/send:3.4.27
|
||||
restart: always
|
||||
ports:
|
||||
- '1234:1234'
|
||||
volumes:
|
||||
- uploads:/uploads
|
||||
environment:
|
||||
- VIRTUAL_HOST=${HOST}
|
||||
# - VIRTUAL_HOST=${HOST}
|
||||
- VIRTUAL_HOST=send.iwanclement.eu
|
||||
- VIRTUAL_PORT=1234
|
||||
- DHPARAM_GENERATION=false
|
||||
- LETSENCRYPT_HOST
|
||||
- LETSENCRYPT_EMAIL
|
||||
- NODE_ENV=production
|
||||
- BASE_URL=${SEND_BASE_URL}
|
||||
# - BASE_URL=${SEND_BASE_URL}
|
||||
- BASE_URL=send.iwanclement.eu
|
||||
- PORT=1234
|
||||
- REDIS_HOST=redis
|
||||
|
||||
# For local uploads storage
|
||||
- FILE_DIR=/uploads
|
||||
|
||||
# time values are all in seconds, e.g. 365d * 60*60*24 = 31,536,000 seconds
|
||||
# - MAX_EXPIRE_SECONDS=31536000
|
||||
- MAX_EXPIRE_SECONDS=2592000
|
||||
# - DEFAULT_EXPIRE_SECONDS=86400
|
||||
- DEFAULT_EXPIRE_SECONDS=604800
|
||||
|
||||
# size values are are in bytes, e.g. 10GB * 1024*1024*1024 = 10,747,904,000 bytes
|
||||
- MAX_FILE_SIZE=10747904000
|
||||
|
||||
# array configs are set as CSV (first entry is the default for the UI dropdown)
|
||||
# - EXPIRE_TIMES_SECONDS=86400,3600,86400,604800,2592000,31536000,157680000
|
||||
- EXPIRE_TIMES_SECONDS=86400,3600,86400,604800,2592000
|
||||
# - DOWNLOAD_COUNTS=10,1,2,5,10,15,25,50,100,1000,10000,100000,250000
|
||||
- DOWNLOAD_COUNTS=10,1,2,5,10,15,25,50
|
||||
|
||||
# For S3 object storage (disable volume and FILE_DIR variable)
|
||||
# - AWS_ACCESS_KEY_ID=********
|
||||
# - AWS_SECRET_ACCESS_KEY=********
|
||||
|
||||
Reference in New Issue
Block a user