Make 2 recently added settings configurable in Docker

see #129, #153.
This commit is contained in:
Klaas van Schelven
2025-07-20 17:16:48 +02:00
parent dcc4706549
commit d5db61c247

View File

@@ -159,6 +159,10 @@ BUGSINK = {
# Settings that help with debugging and development ("why isn't Bugsink doing what I expect?")
"VALIDATE_ON_DIGEST": os.getenv("VALIDATE_ON_DIGEST", "none").lower(), # other legal values are "warn" and "strict"
"KEEP_ENVELOPES": int(os.getenv("KEEP_ENVELOPES", 0)), # keep this many in the database; 0 means "don't keep"
"API_LOG_UNIMPLEMENTED_CALLS": os.getenv("API_LOG_UNIMPLEMENTED_CALLS", "false").lower() in ("true", "1", "yes"),
"KEEP_ARTIFACT_BUNDLES": os.getenv("KEEP_ARTIFACT_BUNDLES", "false").lower() in ("true", "1", "yes"),
"MINIMIZE_INFORMATION_EXPOSURE":
os.getenv("MINIMIZE_INFORMATION_EXPOSURE", "false").lower() in ("true", "1", "yes"),