allowing BAN_template to be populated from docker env
This commit is contained in:
@@ -11,6 +11,7 @@ CONFIG_KEYS = [
|
||||
"max_days",
|
||||
"max_posts",
|
||||
"sleep_minutes",
|
||||
"ban_template",
|
||||
]
|
||||
|
||||
DEFAULTS = {
|
||||
@@ -23,6 +24,7 @@ DEFAULTS = {
|
||||
"max_days": 180,
|
||||
"max_posts": 180,
|
||||
"sleep_minutes": 5,
|
||||
"ban_template": "",
|
||||
}
|
||||
|
||||
# Try both plain and DP_ prefix for env vars
|
||||
|
||||
Reference in New Issue
Block a user