get notification base url from env

This commit is contained in:
Sayyid Hamid Mahdavi 2025-12-03 18:14:15 +03:30
parent 1ccc31ad23
commit d67f4f6069

View file

@ -275,7 +275,7 @@ LOGGING = {
'timeout': 1, # Post request timeout, default is 0.5. Optional
'url': 'https://loki.winsoo.ir/loki/api/v1/push', # Loki url. Defaults to localhost. Optional.
# 'auth': ("user", "password"), # Basic auth to authenticate with loki. Default is None (i.e. no auth). Optional
'tags': {"app": "ads", "env": "production"},
'tags': {"app": "promotions", "env": "production"},
# Tags / Labels to attach to the log. Optional, but strongly encoraged to use.
'mode': 'thread',
# Push mode. Can be 'sync' or 'thread'. Sync is blocking, thread is non-blocking. Defaults to sync. Optional.