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

Update mysite/settings.py, manifest.yaml files

parent badbb3b0
No related branches found
No related tags found
No related merge requests found
......@@ -176,7 +176,7 @@ template:
containers:
- name: django
image: $CI_REGISTRY_IMAGE/$CI_COMMIT_REF_NAME/polls:${CI_COMMIT_SHORT_SHA}
command: ['python', 'manage.py', 'migrate']
command: ['python', '/app/manage.py', 'migrate']
env:
- name: DATABASE_NAME
valueFrom:
......
......@@ -85,7 +85,7 @@ DATABASES = {
'NAME': 'polls',
'USER': os.getenv('DATABASE_USER'),
'PASSWORD': os.getenv('DATABASE_PASSWORD'),
'HOST': os.getenv('DATABASE_NAME'),
'HOST': os.getenv('DATABASE_HOST'),
'PORT': '5432',
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment