Mercurial > gemma
view example_conf.toml @ 733:e57955c1996f
client: improve code structure
* Change loading strategy for waterway axis to bbox mainly for consistency.
Its size is small compared to other WFS features, so the speed gain
is not big by changing to dynamic loading.
* Use getLayerByName() instead of hard references.
* Refactor section about loading layers to be shorter and to reference the
name of each layer only once.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Mon, 24 Sep 2018 09:23:09 +0200 |
parents | 7e45aaec7081 |
children | d11f1211b4e6 |
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: db-host = "gemma_db" #db-name = "gemma" #db-port = 5432 #db-ssl = "prefer" db-user = "meta_login" 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"