view example_conf.toml @ 500:f6d61657b487

Allow accessing client from outside localhost via hostname yarn serve only accepted IP adresses or localhost in the Host-Header before.
author Tom Gottfried <tom@intevation.de>
date Fri, 24 Aug 2018 15:17:35 +0200
parents d68dfbe768e2
children 7e45aaec7081
line wrap: on
line source

# ----------------------------------------------------------------------
# Example configuration for gemma back end
# ----------------------------------------------------------------------

# ----------------------------------------------------------------------
# Basic Setup:

# Host and port to listen on:
host = "0.0.0.0"
#port = 8000

# Where to find the data of the web client (SPA) to serve:
web = "./web"

# File to persist session data:
sessions = "/tmp/gemma_session.data"

# ----------------------------------------------------------------------
# Database:

# DB connection configuration:
dbhost = "gemma_db"
#dbname = "gemma"
#dbport = 5432
#dbssl = "prefer"
metamorph-db-user = "meta_login"
metamorph-db-password = "geo2Serv"

# ----------------------------------------------------------------------
# Mail setup:

# SMTP connection configuration:
#mail-host = "localhost"
#mail-password = "SECRET"
#mail-port = 465
#mail-user = "gemma"

# Client data to use:
#mail-from = "noreplay@localhost"
#mail-helo = "localhost"

# ----------------------------------------------------------------------
# OGC services setup:

# Connection to GeoServer instance for internal OGC services
geoserver-url = "http://gemma_geoserver:8080/geoserver"
#geoserver-user = "admin"
#geoserver-password = "geoserver"

# Proxy settings for external OGC services
#proxy-key = "SECRET"
#proxy-prefix = "http://localhost:8000"

# ----------------------------------------------------------------------
# CORS setup:

#allowed-origins = "http://example.com"