mirror of
https://github.com/HaitiData/haitidata.git
synced 2026-10-26 17:35:17 +00:00
167 lines
5.0 KiB
Bash
167 lines
5.0 KiB
Bash
COMPOSE_PROJECT_NAME=haitidata
|
|
BACKUPS_VOLUME_DRIVER=local
|
|
|
|
DOCKER_HOST_IP=
|
|
DOCKER_ENV=production
|
|
# See https://github.com/geosolutions-it/geonode-generic/issues/28
|
|
# to see why we force API version to 1.24
|
|
DOCKER_API_VERSION="1.24"
|
|
|
|
C_FORCE_ROOT=1
|
|
IS_CELERY=false
|
|
IS_FIRST_START=true
|
|
FORCE_REINIT=false
|
|
|
|
SITEURL=http://localhost/
|
|
ALLOWED_HOSTS=['django',]
|
|
|
|
GEONODE_INSTANCE_NAME=geonode
|
|
DJANGO_SETTINGS_MODULE=haitidata.settings
|
|
UWSGI_CMD=uwsgi --ini /usr/src/haitidata/uwsgi.ini
|
|
|
|
# #################
|
|
# backend
|
|
# #################
|
|
GEONODE_DATABASE=geonode
|
|
GEONODE_DATABASE_PASSWORD=geonode
|
|
GEONODE_GEODATABASE=geonode_data
|
|
GEONODE_GEODATABASE_PASSWORD=geonode_data
|
|
|
|
DATABASE_URL=postgres://geonode:geonode@db:5432/geonode
|
|
GEODATABASE_URL=postgis://geonode:geonode@db:5432/geonode_data
|
|
DEFAULT_BACKEND_DATASTORE=datastore
|
|
BROKER_URL=amqp://guest:guest@rabbitmq:5672/
|
|
|
|
# #################
|
|
# geoserver
|
|
# #################
|
|
GEOSERVER_WEB_UI_LOCATION=http://localhost/geoserver/
|
|
GEOSERVER_PUBLIC_LOCATION=http://localhost/geoserver/
|
|
GEOSERVER_LOCATION=http://geoserver:8080/geoserver/
|
|
GEOSERVER_ADMIN_PASSWORD=geoserver
|
|
|
|
OGC_REQUEST_TIMEOUT=30
|
|
OGC_REQUEST_MAX_RETRIES=1
|
|
OGC_REQUEST_BACKOFF_FACTOR=0.3
|
|
OGC_REQUEST_POOL_MAXSIZE=10
|
|
OGC_REQUEST_POOL_CONNECTIONS=10
|
|
|
|
# Java Options & Memory
|
|
GEOSERVER_JAVA_OPTS=-Djava.awt.headless=true -Xms2G -Xmx4G -XX:PerfDataSamplingInterval=500 -XX:SoftRefLRUPolicyMSPerMB=36000 -XX:-UseGCOverheadLimit -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:ParallelGCThreads=4 -Dfile.encoding=UTF8 -Duser.timezone=GMT -Djavax.servlet.request.encoding=UTF-8 -Djavax.servlet.response.encoding=UTF-8 -Duser.timezone=GMT -Dorg.geotools.shapefile.datetime=true -DGEOSERVER_CSRF_DISABLED=true
|
|
|
|
# Data Uploader
|
|
DEFAULT_BACKEND_UPLOADER=geonode.importer
|
|
TIME_ENABLED=True
|
|
MOSAIC_ENABLED=False
|
|
|
|
# #################
|
|
# nginx
|
|
# HTTPD Server
|
|
# #################
|
|
# IP or domain name and port where the server can be reached on HTTP (leave HOST empty if you want to use HTTPS only)
|
|
GEONODE_LB_HOST_IP=localhost
|
|
HTTP_HOST=localhost
|
|
# port where the server can be reached on HTTP
|
|
GEONODE_LB_PORT=80
|
|
HTTP_PORT=80
|
|
|
|
# IP or domain name and port where the server can be reached on HTTPS (leave HOST empty if you want to use HTTP only)
|
|
# HTTPS_HOST=localhost
|
|
# port where the server can be reached on HTTPS
|
|
# GEONODE_LB_PORT=443
|
|
# HTTPS_PORT=443
|
|
|
|
# Let's Encrypt certificates for https encryption. You must have a domain name as HTTPS_HOST (doesn't work
|
|
# with an ip) and it must be reachable from the outside. This can be one of the following :
|
|
# disabled : we do not get a certificate at all (a placeholder certificate will be used)
|
|
# staging : we get staging certificates (are invalid, but allow to test the process completely and have much higher limit rates)
|
|
# production : we get a normal certificate (default)
|
|
LETSENCRYPT_MODE=disabled
|
|
# LETSENCRYPT_MODE=staging
|
|
# LETSENCRYPT_MODE=production
|
|
|
|
RESOLVER=127.0.0.11
|
|
|
|
# #################
|
|
# Security
|
|
# #################
|
|
# Admin Settings
|
|
ADMIN_PASSWORD=admin
|
|
ADMIN_EMAIL=admin@localhost
|
|
|
|
# EMAIL Notifications
|
|
EMAIL_ENABLE=False
|
|
DJANGO_EMAIL_BACKEND=django.core.mail.backends.smtp.EmailBackend
|
|
DJANGO_EMAIL_HOST=localhost
|
|
DJANGO_EMAIL_PORT=25
|
|
DJANGO_EMAIL_HOST_USER=
|
|
DJANGO_EMAIL_HOST_PASSWORD=
|
|
DJANGO_EMAIL_USE_TLS=False
|
|
DEFAULT_FROM_EMAIL='GeoNode <no-reply@geonode.org>'
|
|
|
|
# Session/Access Control
|
|
LOCKDOWN_GEONODE=False
|
|
CORS_ORIGIN_ALLOW_ALL=True
|
|
SESSION_EXPIRED_CONTROL_ENABLED=True
|
|
DEFAULT_ANONYMOUS_VIEW_PERMISSION=True
|
|
DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION=True
|
|
|
|
# Users Registration
|
|
ACCOUNT_OPEN_SIGNUP=True
|
|
ACCOUNT_EMAIL_REQUIRED=True
|
|
ACCOUNT_APPROVAL_REQUIRED=False
|
|
ACCOUNT_CONFIRM_EMAIL_ON_GET=False
|
|
ACCOUNT_EMAIL_VERIFICATION='optional'
|
|
ACCOUNT_EMAIL_CONFIRMATION_EMAIL=False
|
|
ACCOUNT_EMAIL_CONFIRMATION_REQUIRED=False
|
|
|
|
# OAuth2
|
|
OAUTH2_API_KEY=
|
|
OAUTH2_CLIENT_ID=Jrchz2oPY3akmzndmgUTYrs9gczlgoV20YPSvqaV
|
|
OAUTH2_CLIENT_SECRET=rCnp5txobUo83EpQEblM8fVj3QT5zb5qRfxNsuPzCqZaiRyIoxM4jdgMiZKFfePBHYXCLd7B8NlkfDBY9HKeIQPcy5Cp08KQNpRHQbjpLItDHv12GvkSeXp6OxaUETv3
|
|
|
|
# GeoNode APIs
|
|
API_LOCKDOWN=False
|
|
TASTYPIE_APIKEY=
|
|
|
|
# #################
|
|
# Production and
|
|
# Monitoring
|
|
# #################
|
|
DEBUG=False
|
|
|
|
SECRET_KEY='myv-y4#7j-d*p-__@j#*3z@!y24fz8%^z2v6atuy4bo9vqr1_a'
|
|
|
|
STATIC_ROOT=/mnt/volumes/statics/static/
|
|
MEDIA_ROOT=/mnt/volumes/statics/uploaded/
|
|
GEOIP_PATH=/mnt/volumes/statics/geoip.db
|
|
|
|
CACHE_BUSTING_STATIC_ENABLED=False
|
|
CACHE_BUSTING_MEDIA_ENABLED=False
|
|
|
|
MAX_DOCUMENT_SIZE=2
|
|
CLIENT_RESULTS_LIMIT=5
|
|
API_LIMIT_PER_PAGE=1000
|
|
ALLOWED_DOCUMENT_TYPES=['doc', 'docx', 'gif', 'jpg', 'jpeg', 'ods', 'odt', 'odp', 'pdf', 'png','ppt', 'pptx', 'rar', 'sld', 'tif', 'tiff', 'txt', 'xls', 'xlsx', 'xml', 'zip', 'gz', 'qml']
|
|
|
|
# GIS Client
|
|
GEONODE_CLIENT_LAYER_PREVIEW_LIBRARY=mapstore
|
|
MAPBOX_ACCESS_TOKEN=
|
|
BING_API_KEY=
|
|
GOOGLE_API_KEY=
|
|
|
|
# Monitoring
|
|
MONITORING_ENABLED=True
|
|
MONITORING_DATA_TTL=365
|
|
USER_ANALYTICS_ENABLED=True
|
|
USER_ANALYTICS_GZIP=False
|
|
MONITORING_SERVICE_NAME=local-geonode
|
|
MONITORING_HOST_NAME=geonode
|
|
|
|
# Other Options/Contribs
|
|
MODIFY_TOPICCATEGORY=True
|
|
AVATAR_GRAVATAR_SSL=True
|
|
EXIF_ENABLED=False
|
|
CREATE_LAYER=False
|
|
FAVORITE_ENABLED=False
|