
apiVersion: v1
kind: ConfigMap
metadata:
  name: django-config
data:
  # copied from geonode github
  C_FORCE_ROOT: "1"
  FORCE_REINIT: "false"
  DEBUG: "True"
  DJANGO_SETTINGS_MODULE: geonode.settings
  GEONODE_INSTANCE_NAME: geonode
  STATIC_ROOT: /mnt/volumes/statics/static/
  MEDIA_ROOT: /mnt/volumes/statics/uploaded/
  GEOIP_PATH: /mnt/volumes/statics/geoip.db
  # Perfomance
  #SITEURL: http://django/
  #ALLOWED_HOSTS: "['django', '*']"
  ALLOWED_HOSTS: "['localhost','django','geonode','*']"
  DEFAULT_BACKEND_UPLOADER: geonode.importer
  TIME_ENABLED: "True"
  MOSAIC_ENABLED: "False"
  HAYSTACK_SEARCH: "False"
  HAYSTACK_ENGINE_URL: http://elasticsearch:9200/
  HAYSTACK_ENGINE_INDEX_NAME: haystack
  HAYSTACK_SEARCH_RESULTS_PER_PAGE: "200"
  CACHE_BUSTING_STATIC_ENABLED: "False"
  CACHE_BUSTING_MEDIA_ENABLED: "False"
  MEMCACHED_ENABLED: "False"
  MEMCACHED_BACKEND: django.core.cache.backends.memcached.MemcachedCache
  MEMCACHED_LOCATION: 127.0.0.1:11211
  MEMCACHED_LOCK_EXPIRE: "3600"
  MEMCACHED_LOCK_TIMEOUT: "10"
  MAX_DOCUMENT_SIZE: "2"
  CLIENT_RESULTS_LIMIT: "5"
  API_LIMIT_PER_PAGE: "1000"
  # Monitoring
  MONITORING_ENABLED: "False"
  MONITORING_DATA_TTL: "365"
  USER_ANALYTICS_ENABLED: "False"
  USER_ANALYTICS_GZIP: "False"
  CENTRALIZED_DASHBOARD_ENABLED: "False"
  MONITORING_SERVICE_NAME: local-geonode
  MONITORING_HOST_NAME: geonode
  # Other Options/Contribs
  MODIFY_TOPICCATEGORY: "True"
  AVATAR_GRAVATAR_SSL: "True"
  AVATAR_DEFAULT_URL: /geonode/img/avatar.png
  EXIF_ENABLED: "True"
  CREATE_LAYER: "True"
  FAVORITE_ENABLED: "True"
  # 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"
  DJANGO_EMAIL_USE_SSL: "False"
  DEFAULT_FROM_EMAIL: 'GeoNode <no-reply@geonode.org>'
  LOCKDOWN_GEONODE: "False"
  CORS_ORIGIN_ALLOW_ALL: "True"
  X_FRAME_OPTIONS: ALLOW-FROM ALL
  SESSION_EXPIRED_CONTROL_ENABLED: "True"
  DEFAULT_ANONYMOUS_VIEW_PERMISSION: "True"
  DEFAULT_ANONYMOUS_DOWNLOAD_PERMISSION: "True"
  ACCOUNT_OPEN_SIGNUP: "True"
  ACCOUNT_EMAIL_REQUIRED: "True"
  ACCOUNT_APPROVAL_REQUIRED: "False"
  ACCOUNT_CONFIRM_EMAIL_ON_GET: "False"
  ACCOUNT_EMAIL_VERIFICATION: none
  ACCOUNT_EMAIL_CONFIRMATION_EMAIL: "False"
  ACCOUNT_EMAIL_CONFIRMATION_REQUIRED: "False"
  ACCOUNT_AUTHENTICATION_METHOD: username_email
  AUTO_ASSIGN_REGISTERED_MEMBERS_TO_REGISTERED_MEMBERS_GROUP_NAME: "True"
  # GeoNode APIs
  # API_LOCKDOWN: "False"
  # TASTYPIE_APIKEY: 

