chore(config): unify timezone setting using TZ environment variable
All checks were successful
Build and Push Docker Images / build (push) Successful in 47s
All checks were successful
Build and Push Docker Images / build (push) Successful in 47s
Replaced multiple timezone definitions with a single environment variable `TZ` to centralize and simplify timezone configuration across the project. Signed-off-by: UdoChudo <stream@udochudo.ru>
This commit is contained in:
parent
1169605e6e
commit
b7433f0c99
@ -11,7 +11,7 @@ REGIONS_PER_PAGE = os.getenv('REGIONS_PER_PAGE', 10)
|
||||
ZABBIX_API_TOKEN = os.getenv('ZABBIX_API_TOKEN')
|
||||
ZABBIX_URL = os.getenv('ZABBIX_URL')
|
||||
ZABBIX_VERIFY_SSL = os.getenv('ZABBIX_VERIFY_SSL', True)
|
||||
ZABBIX_TZ = os.getenv('ZABBIX_TZ', 'Europe/Moscow')
|
||||
ZABBIX_TZ = os.getenv('TZ', 'Europe/Moscow')
|
||||
#Настройки Flask и Telegram bot
|
||||
basedir = os.path.abspath(os.path.dirname(__file__))
|
||||
DB_ABS_PATH = os.path.join(basedir, 'db/telezab.db')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user