From f9eef545747b58a7c4707bb0bef06ddb28bd1c58 Mon Sep 17 00:00:00 2001 From: Sergey Kodolov <35339452+SergeyKodolov@users.noreply.github.com> Date: Mon, 22 May 2023 04:00:36 +0500 Subject: [PATCH] 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 --- apps/send/config.json | 2 +- apps/send/docker-compose.yml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/send/config.json b/apps/send/config.json index b3a23e38..0e2d3529 100644 --- a/apps/send/config.json +++ b/apps/send/config.json @@ -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.", diff --git a/apps/send/docker-compose.yml b/apps/send/docker-compose.yml index 05727af4..d8ddb691 100644 --- a/apps/send/docker-compose.yml +++ b/apps/send/docker-compose.yml @@ -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: