Skip to content
Snippets Groups Projects
Commit 07d9e417 authored by Thomas  MENARD's avatar Thomas MENARD
Browse files

Update README

parent c6ca0f5f
Branches
No related tags found
No related merge requests found
......@@ -219,6 +219,11 @@ build:
# off in production.
imagePullPolicy: Always
env:
- name: DATABASE_NAME
valueFrom:
secretKeyRef:
name: postgresql-credentials
key: database
- name: DATABASE_USER
valueFrom:
secretKeyRef:
......
......@@ -85,7 +85,7 @@ DATABASES = {
'NAME': 'polls',
'USER': os.getenv('DATABASE_USER'),
'PASSWORD': os.getenv('DATABASE_PASSWORD'),
'HOST': '127.0.0.1',
'HOST': os.getenv('DATABASE_NAME'),
'PORT': '5432',
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment