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 1212DATABASES = {
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" , "" ),
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ FROM python:3.11-slim-trixie
55WORKDIR /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
You can’t perform that action at this time.
0 commit comments