move telegram token and timeout to a separate CLI section

This simplifies token and timeout reuse for
the notify module (used now) and for
the auth module later (not yet in the code).
SMTP credentials are already set up that way.
This commit is contained in:
Dmitry Verkhoturov
2021-05-24 12:15:03 -05:00
committed by Umputun
parent b856b6d3af
commit 6a54ed86c7
4 changed files with 26 additions and 9 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ services:
- AUTH_DEV=true # activate local oauth "dev"
- ADMIN_SHARED_ID=dev_user # set admin flag for default user on local ouath2
- NOTIFY_TYPE
- NOTIFY_TELEGRAM_TOKEN
- TELEGRAM_TOKEN
- NOTIFY_TELEGRAM_CHAN
- NOTIFY_EMAIL_FROM
- ADMIN_SHARED_EMAIL