Mercurial > gemma
annotate example_conf.toml @ 515:ef7f56d326ae
fix: gemma configuration added to .hgignore
In order to prevent accidentally committing gemma.toml
it was added to .hgignore
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Mon, 27 Aug 2018 11:56:43 +0200 |
parents | d68dfbe768e2 |
children | 7e45aaec7081 |
rev | line source |
---|---|
330
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
1 # ---------------------------------------------------------------------- |
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
2 # Example configuration for gemma back end |
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
3 # ---------------------------------------------------------------------- |
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
4 |
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
5 # ---------------------------------------------------------------------- |
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
6 # Basic Setup: |
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
7 |
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
8 # Host and port to listen on: |
481
d68dfbe768e2
Merge example configuration and that used for docker backend
Tom Gottfried <tom@intevation.de>
parents:
480
diff
changeset
|
9 host = "0.0.0.0" |
338
dabe189369ad
Configuration: Port numbers are integers. Mail port defaults to 465 (SSL).
Sascha L. Teichmann <teichmann@intevation.de>
parents:
330
diff
changeset
|
10 #port = 8000 |
330
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
11 |
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
12 # Where to find the data of the web client (SPA) to serve: |
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
13 web = "./web" |
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
14 |
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
15 # File to persist session data: |
481
d68dfbe768e2
Merge example configuration and that used for docker backend
Tom Gottfried <tom@intevation.de>
parents:
480
diff
changeset
|
16 sessions = "/tmp/gemma_session.data" |
330
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
17 |
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
18 # ---------------------------------------------------------------------- |
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
19 # Database: |
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
20 |
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
21 # DB connection configuration: |
481
d68dfbe768e2
Merge example configuration and that used for docker backend
Tom Gottfried <tom@intevation.de>
parents:
480
diff
changeset
|
22 dbhost = "gemma_db" |
330
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
23 #dbname = "gemma" |
338
dabe189369ad
Configuration: Port numbers are integers. Mail port defaults to 465 (SSL).
Sascha L. Teichmann <teichmann@intevation.de>
parents:
330
diff
changeset
|
24 #dbport = 5432 |
330
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
25 #dbssl = "prefer" |
480
0fcbdb4539d1
Update example configuration
Tom Gottfried <tom@intevation.de>
parents:
338
diff
changeset
|
26 metamorph-db-user = "meta_login" |
481
d68dfbe768e2
Merge example configuration and that used for docker backend
Tom Gottfried <tom@intevation.de>
parents:
480
diff
changeset
|
27 metamorph-db-password = "geo2Serv" |
330
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
28 |
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
29 # ---------------------------------------------------------------------- |
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
30 # Mail setup: |
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
31 |
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
32 # SMTP connection configuration: |
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
33 #mail-host = "localhost" |
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
34 #mail-password = "SECRET" |
338
dabe189369ad
Configuration: Port numbers are integers. Mail port defaults to 465 (SSL).
Sascha L. Teichmann <teichmann@intevation.de>
parents:
330
diff
changeset
|
35 #mail-port = 465 |
330
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
36 #mail-user = "gemma" |
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
37 |
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
38 # Client data to use: |
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
39 #mail-from = "noreplay@localhost" |
fd04bccae6ca
Create standard roles as part of the base schema.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
40 #mail-helo = "localhost" |
480
0fcbdb4539d1
Update example configuration
Tom Gottfried <tom@intevation.de>
parents:
338
diff
changeset
|
41 |
0fcbdb4539d1
Update example configuration
Tom Gottfried <tom@intevation.de>
parents:
338
diff
changeset
|
42 # ---------------------------------------------------------------------- |
0fcbdb4539d1
Update example configuration
Tom Gottfried <tom@intevation.de>
parents:
338
diff
changeset
|
43 # OGC services setup: |
0fcbdb4539d1
Update example configuration
Tom Gottfried <tom@intevation.de>
parents:
338
diff
changeset
|
44 |
0fcbdb4539d1
Update example configuration
Tom Gottfried <tom@intevation.de>
parents:
338
diff
changeset
|
45 # Connection to GeoServer instance for internal OGC services |
481
d68dfbe768e2
Merge example configuration and that used for docker backend
Tom Gottfried <tom@intevation.de>
parents:
480
diff
changeset
|
46 geoserver-url = "http://gemma_geoserver:8080/geoserver" |
480
0fcbdb4539d1
Update example configuration
Tom Gottfried <tom@intevation.de>
parents:
338
diff
changeset
|
47 #geoserver-user = "admin" |
0fcbdb4539d1
Update example configuration
Tom Gottfried <tom@intevation.de>
parents:
338
diff
changeset
|
48 #geoserver-password = "geoserver" |
0fcbdb4539d1
Update example configuration
Tom Gottfried <tom@intevation.de>
parents:
338
diff
changeset
|
49 |
0fcbdb4539d1
Update example configuration
Tom Gottfried <tom@intevation.de>
parents:
338
diff
changeset
|
50 # Proxy settings for external OGC services |
0fcbdb4539d1
Update example configuration
Tom Gottfried <tom@intevation.de>
parents:
338
diff
changeset
|
51 #proxy-key = "SECRET" |
0fcbdb4539d1
Update example configuration
Tom Gottfried <tom@intevation.de>
parents:
338
diff
changeset
|
52 #proxy-prefix = "http://localhost:8000" |
0fcbdb4539d1
Update example configuration
Tom Gottfried <tom@intevation.de>
parents:
338
diff
changeset
|
53 |
0fcbdb4539d1
Update example configuration
Tom Gottfried <tom@intevation.de>
parents:
338
diff
changeset
|
54 # ---------------------------------------------------------------------- |
0fcbdb4539d1
Update example configuration
Tom Gottfried <tom@intevation.de>
parents:
338
diff
changeset
|
55 # CORS setup: |
0fcbdb4539d1
Update example configuration
Tom Gottfried <tom@intevation.de>
parents:
338
diff
changeset
|
56 |
0fcbdb4539d1
Update example configuration
Tom Gottfried <tom@intevation.de>
parents:
338
diff
changeset
|
57 #allowed-origins = "http://example.com" |