Mercurial > gemma
diff example_conf.toml @ 481:d68dfbe768e2
Merge example configuration and that used for docker backend
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 23 Aug 2018 18:50:32 +0200 |
parents | cmd/gemma/gemma.toml.example@0fcbdb4539d1 |
children | 7e45aaec7081 |
line wrap: on
line diff
--- a/example_conf.toml Thu Aug 23 18:40:34 2018 +0200 +++ b/example_conf.toml Thu Aug 23 18:50:32 2018 +0200 @@ -1,7 +1,57 @@ -dbhost = "gemma_db" +# ---------------------------------------------------------------------- +# 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" -web = "./web" -geoserver-url = "http://gemma_geoserver:8080/geoserver" + +# ---------------------------------------------------------------------- +# 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"