diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | docker-compose.yml | 2 | ||||
-rw-r--r-- | snekbox/__init__.py | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -76,7 +76,7 @@ All environment variables have defaults and are therefore not required to be set Name | Description ---- | ----------- -`DEBUG` | Enable debug logging if set to a non-empty value. +`SNEKBOX_DEBUG` | Enable debug logging if set to a non-empty value. `SNEKBOX_SENTRY_DSN` | [Data Source Name] for Sentry. Sentry is disabled if left unset. ## Third-party Packages diff --git a/docker-compose.yml b/docker-compose.yml index 07548cd..9d3ae71 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,7 +13,7 @@ services: ipc: none tty: true environment: - DEBUG: 1 + SNEKBOX_DEBUG: 1 PYTHONDONTWRITEBYTECODE: 1 build: context: . diff --git a/snekbox/__init__.py b/snekbox/__init__.py index 657c032..bed3692 100644 --- a/snekbox/__init__.py +++ b/snekbox/__init__.py @@ -1,7 +1,7 @@ import os from importlib import metadata -DEBUG = os.environ.get("DEBUG", False) +DEBUG = os.environ.get("SNEKBOX_DEBUG", False) try: __version__ = metadata.version("snekbox") |