From d1a0f20c49b67f3d0257019347737c543fa16cb5 Mon Sep 17 00:00:00 2001 From: ITQ Date: Sun, 20 Jul 2025 00:05:11 +0300 Subject: [PATCH] chore(telegram_bot): small improvements --- infrastructure/telegram_bot/.env.template | 2 +- services/telegram_bot/.env.template | 2 +- services/telegram_bot/config.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/infrastructure/telegram_bot/.env.template b/infrastructure/telegram_bot/.env.template index 9f6b89e..5a02f8e 100644 --- a/infrastructure/telegram_bot/.env.template +++ b/infrastructure/telegram_bot/.env.template @@ -1,4 +1,4 @@ AIOGRAM_BOT_TOKEN= AIOGRAM_BACKEND_URL=http://backend:8080 REDIS_URI=redis://redis:6379 -MINIO_ENDPOINT=minio:9000 +MINIO_ENDPOINT=http://minio:9000 diff --git a/services/telegram_bot/.env.template b/services/telegram_bot/.env.template index e046608..b8232c5 100644 --- a/services/telegram_bot/.env.template +++ b/services/telegram_bot/.env.template @@ -4,4 +4,4 @@ AIOGRAM_BOT_TOKEN= AIOGRAM_BACKEND_ADDRESS=http://localhost:8080 REDIS_URI=redis://localhost:6379 -MINIO_ENDPOINT=localhost:9000 +MINIO_ENDPOINT=http://localhost:9000 diff --git a/services/telegram_bot/config.py b/services/telegram_bot/config.py index b472db5..b31b586 100644 --- a/services/telegram_bot/config.py +++ b/services/telegram_bot/config.py @@ -13,4 +13,4 @@ API_ENDPOINT = os.getenv("AIOGRAM_BACKEND_URL", "http://localhost:8080") REDIS_URI = os.getenv("REDIS_URI", "redis://localhost:6379") -MINIO_URL = f"http://{os.getenv('MINIO_ENDPOINT', 'localhost:9000')}" +MINIO_URL = os.getenv('MINIO_ENDPOINT', 'http://localhost:9000')