Skip to content

Commit 72de873

Browse files
committed
Merge branch 'main' into preview
2 parents 93cb2a9 + d541ec3 commit 72de873

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

DjangoPlugin/tracdjangoplugin/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
DATABASES = {
1313
"default": {
1414
"ENGINE": "django.db.backends.postgresql",
15-
"NAME": "djangoproject",
16-
"USER": "djangoproject",
15+
"NAME": os.getenv("DJANGO_DB_NAME", "djangoproject"),
16+
"USER": SECRETS.get("db_user", "djangoproject"),
1717
"HOST": SECRETS.get("db_host", ""),
1818
"PORT": SECRETS.get("db_port", 5432),
1919
"PASSWORD": SECRETS.get("db_password", ""),

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ FROM python:3.11-slim-trixie
55
WORKDIR /code
66

77
# set environment varibles
8-
ENV PYTHONDONTWRITEBYTECODE 1
9-
ENV PYTHONUNBUFFERED 1
8+
ENV PYTHONDONTWRITEBYTECODE=1
9+
ENV PYTHONUNBUFFERED=1
1010

1111
# getting postgres from PGDG (https://wiki.postgresql.org/wiki/Apt)
1212
# gnupg is required to run apt.postgresql.org.sh

0 commit comments

Comments
 (0)