chore: Send app improvements (#479)

* Send app improvements

- DETECT_BASE_URL env removed
- FILE_DIR env added
- redis healthcheck interval increased from 1s to 5s

* Update Tipi Version

---------

Co-authored-by: DrMxrcy <drmxrcy@gmail.com>
This commit is contained in:
Sergey Kodolov 2023-05-22 04:00:36 +05:00 committed by GitHub
parent 94c3f99ba0
commit f9eef54574
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -5,7 +5,7 @@
"exposable": true,
"port": 8126,
"id": "send",
"tipi_version": 1,
"tipi_version": 2,
"version": "latest",
"categories": ["utilities"],
"description": "A file sharing experiment which allows you to send encrypted files to other users.",

View File

@ -20,7 +20,8 @@ services:
- REDIS_HOST=send-redis
# Storage Limit
- MAX_FILE_SIZE=2147483648
- DETECT_BASE_URL=true
# Storage path
- FILE_DIR=/uploads
depends_on:
- send-redis
labels:
@ -39,7 +40,7 @@ services:
- ${APP_DATA_DIR}/data/redis:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 1s
interval: 5s
timeout: 3s
retries: 30
networks: