File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
DjangoPlugin/tracdjangoplugin Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 12
12
DATABASES = {
13
13
"default" : {
14
14
"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") ,
17
17
"HOST" : SECRETS .get ("db_host" , "" ),
18
18
"PORT" : SECRETS .get ("db_port" , 5432 ),
19
19
"PASSWORD" : SECRETS .get ("db_password" , "" ),
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ FROM python:3.11-slim-trixie
5
5
WORKDIR /code
6
6
7
7
# set environment varibles
8
- ENV PYTHONDONTWRITEBYTECODE 1
9
- ENV PYTHONUNBUFFERED 1
8
+ ENV PYTHONDONTWRITEBYTECODE= 1
9
+ ENV PYTHONUNBUFFERED= 1
10
10
11
11
# getting postgres from PGDG (https://wiki.postgresql.org/wiki/Apt)
12
12
# gnupg is required to run apt.postgresql.org.sh
You can’t perform that action at this time.
0 commit comments