mirror of
https://github.com/HaitiData/haitidata.git
synced 2026-10-27 18:05:51 +00:00
* update fixture region * update geoserver and geonode in one container * clean code * update prod setting to receive PROXY_ALLOWED_HOSTS * update architecture to be like geonode * update DATABASE setting * update DATABASE setting * update DATABASE setting * update DATABASE setting * update settings * clean code * update setting to access /geoserver without /api/geoserver * clean code * clean code * Use uwsgi rather than development server. * clean code * update compose and docker file of geoserver
33 lines
778 B
Python
33 lines
778 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': 'postgres',
|
|
'PORT': '5432',
|
|
},
|
|
# vector datastore for uploads
|
|
'datastore': {
|
|
'ENGINE': 'django.contrib.gis.db.backends.postgis',
|
|
'NAME': 'geonode_data',
|
|
'USER': 'docker',
|
|
'PASSWORD': 'docker',
|
|
'HOST': 'postgres',
|
|
'PORT': '5432',
|
|
}
|
|
}
|