From: Michael Fladischer <FladischerMichael@fladi.at>
Date: Sun, 30 Oct 2022 12:01:33 +0000
Subject: Make database user configurable through environment.

---
 sandbox/settings.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sandbox/settings.py b/sandbox/settings.py
index b832fd4..ceba544 100644
--- a/sandbox/settings.py
+++ b/sandbox/settings.py
@@ -126,7 +126,7 @@ DATABASES = {
     "default": {
         "ENGINE": "django_pgschemas.postgresql",
         "NAME": "sandbox",
-        "USER": "postgres",
+        "USER": os.environ.get("DATABASE_USER", "postgres"),
         "PASSWORD": os.environ.get("DATABASE_PASSWORD", "postgres"),
         "HOST": os.environ.get("DATABASE_HOST", "localhost"),
         "PORT": "",
