From db1ab7404b99aa51e682784859691690c15a85b4 Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Sat, 13 Jul 2024 16:09:20 -0300 Subject: [PATCH] chore: Update environment variables and add Minio/S3 integration Updated .env.example with new environment variables for Minio/S3 integration. Added configuration for Minio/S3 endpoint, bucket, access key, secret key, and other related settings. Updated CHANGELOG.md to include the Minio/S3 integration. This change allows for the addition of Minio/S3 as a storage option for the project, improving flexibility and scalability. --- .env.example | 24 ++++++++++++++++++++++++ CHANGELOG.md | 1 + 2 files changed, 25 insertions(+) diff --git a/.env.example b/.env.example index 55b57c96..7c95e176 100644 --- a/.env.example +++ b/.env.example @@ -124,6 +124,30 @@ CACHE_REDIS_PREFIX_KEY=evolution CACHE_REDIS_SAVE_INSTANCES=false CACHE_LOCAL_ENABLED=false +S3_ENABLED=false +S3_ACCESS_KEY= +S3_SECRET_KEY= +S3_BUCKET=evolution +S3_PORT=443 +S3_ENDPOINT=s3.domain.com +S3_USE_SSL=true + +# AMAZON S3 - Environment variables +# S3_ENABLED=true +# S3_BUCKET=bucket_name +# S3_ACCESS_KEY=access_key_id +# S3_SECRET_KEY=secret_access_key +# S3_ENDPOINT=s3.amazonaws.com # region: s3.eu-west-3.amazonaws.com + +# MINIO Use SSL - Environment variables +# S3_ENABLED=true +# S3_ACCESS_KEY=access_key_id +# S3_SECRET_KEY=secret_access_key +# S3_BUCKET=bucket_name +# S3_PORT=443 +# S3_ENDPOINT=s3.domain.com +# S3_USE_SSL=true + AUTHENTICATION_API_KEY=429683C4C977415CAAFCCE10F7D57E11 AUTHENTICATION_EXPOSE_IN_FETCH_INSTANCES=true LANGUAGE=en diff --git a/CHANGELOG.md b/CHANGELOG.md index 56cef380..49b071a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ * Add support for managing WhatsApp templates via official API * Fixes and implementation of regex and fallback in typebot * Ignore jids configuration added to typebot (will be used for both groups and contacts) +* Minio and S3 integration ### Fixed