Commit 8f144bd6 authored by Auke Klazema's avatar Auke Klazema

TMSS-143: Fix settings

parent dd2de48f
......@@ -5,7 +5,7 @@ services:
restart: on-failure
env_file:
- ./.env
command: bash -c 'source /opt/lofar/lofarinit.sh && python3 lib/python3.6/site-packages/lofar/sas/tmss/manage.py runserver 0.0.0.0:8008'
command: bash -c 'source /opt/lofar/lofarinit.sh && python3 libi64/python3.6/site-packages/lofar/sas/tmss/manage.py runserver 0.0.0.0:8008'
ports:
- "8008:8008"
testprovider:
......
......@@ -176,18 +176,6 @@ else:
DATABASES['default']['USER'] = django_db_credentials.user
DATABASES['default']['PASSWORD'] = django_db_credentials.password
DATABASES = {
'default': {
# Postgres:
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': django_db_credentials.database,
'USER': django_db_credentials.user,
'PASSWORD': django_db_credentials.password,
'HOST': django_db_credentials.host,
'PORT': django_db_credentials.port,
}
}
REST_FRAMEWORK = {
# Authentication, see also if-tree below for Open-ID vs LDAP configuration
'DEFAULT_AUTHENTICATION_CLASSES': [],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment