From 6d23ac99324782f7ec05d501b8c31501b43e5b76 Mon Sep 17 00:00:00 2001 From: modos189 Date: Tue, 20 Dec 2022 18:41:40 +0300 Subject: [PATCH] Small fixes --- app/app.py | 2 +- docker-compose.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/app.py b/app/app.py index 9c8efa1..e04489a 100644 --- a/app/app.py +++ b/app/app.py @@ -6,7 +6,7 @@ app = Flask(__name__) LISTENER_HOST = os.environ.get('HOST', '0.0.0.0') LISTENER_PORT = os.environ.get('PORT', '4567') -WEBHOOK_SECRET = os.environ['SECRET'] +WEBHOOK_SECRET = os.environ['WEBHOOK_SECRET'] TELEGRAM_TOKEN = os.environ['TELEGRAM_TOKEN'] TELEGRAM_CHAT_ID = os.environ['TELEGRAM_CHAT_ID'] TELEGRAM_TOPIC_ID = os.environ.get('TELEGRAM_TOPIC_ID', None) diff --git a/docker-compose.yml b/docker-compose.yml index edda6ba..d72f654 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: '3.8' +version: '3.3' services: app: @@ -13,4 +13,4 @@ services: - WEBHOOK_SECRET=secret - TELEGRAM_TOKEN=123456789:blablabla - TELEGRAM_CHAT_ID=-1001234567890 - - TELEGRAM_TOPIC_ID=1234567890 # Optional +# - TELEGRAM_TOPIC_ID=1234567890 # Optional