mirror of
https://github.com/HaitiData/haitidata.git
synced 2026-11-03 13:26:31 +00:00
36 lines
818 B
Python
36 lines
818 B
Python
__author__ = 'Irwan Fathurrahman <irwan@kartoza.com>'
|
|
__date__ = '13/09/17'
|
|
# -*- coding: utf-8 -*-
|
|
"""Settings for when running under docker in development mode."""
|
|
|
|
import os
|
|
from .utils import ensure_secret_key_file
|
|
|
|
DEBUG = True
|
|
ensure_secret_key_file()
|
|
|
|
from .dev import * # noqa
|
|
|
|
DATABASES = {
|
|
'default': {
|
|
'ENGINE': 'django.contrib.gis.db.backends.postgis',
|
|
'NAME': 'gis',
|
|
'USER': 'docker',
|
|
'PASSWORD': 'docker',
|
|
'HOST': 'db',
|
|
'PORT': 5432,
|
|
'TEST_NAME': 'unittests',
|
|
},
|
|
# vector datastore for uploads
|
|
'datastore': {
|
|
'ENGINE': 'django.contrib.gis.db.backends.postgis',
|
|
'NAME': 'geonode_data',
|
|
'USER': 'docker',
|
|
'PASSWORD': 'docker',
|
|
'HOST': 'db',
|
|
'PORT': 5432,
|
|
}
|
|
}
|
|
|
|
print INSTALLED_APPS
|