Mercurial > gemma
annotate example_conf.toml @ 1705:dcbe2a7dc532
Scheduled imports: Take extra configuration parameters from attributes table.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 07 Jan 2019 16:11:07 +0100 |
parents | eadf84bb0e98 |
children | 783c1454ab47 |
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: |
517
7e45aaec7081
Consolidate configuration parameters.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
481
diff
changeset
|
22 db-host = "gemma_db" |
7e45aaec7081
Consolidate configuration parameters.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
481
diff
changeset
|
23 #db-name = "gemma" |
7e45aaec7081
Consolidate configuration parameters.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
481
diff
changeset
|
24 #db-port = 5432 |
7e45aaec7081
Consolidate configuration parameters.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
481
diff
changeset
|
25 #db-ssl = "prefer" |
7e45aaec7081
Consolidate configuration parameters.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
481
diff
changeset
|
26 db-user = "meta_login" |
7e45aaec7081
Consolidate configuration parameters.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
481
diff
changeset
|
27 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 |
949
d11f1211b4e6
Update example configuration
Tom Gottfried <tom@intevation.de>
parents:
517
diff
changeset
|
50 # Clean GeoServer setup on startup |
950
7fc47ac98520
Do not clean GeoServer by default!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
949
diff
changeset
|
51 # Persisting this is mainly useful in some dev setups. |
7fc47ac98520
Do not clean GeoServer by default!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
949
diff
changeset
|
52 # Cleaning up the GeoServer should be done with |
7fc47ac98520
Do not clean GeoServer by default!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
949
diff
changeset
|
53 # an explicit --geoserver-clean on the command line. |
7fc47ac98520
Do not clean GeoServer by default!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
949
diff
changeset
|
54 #geoserver-clean = true |
949
d11f1211b4e6
Update example configuration
Tom Gottfried <tom@intevation.de>
parents:
517
diff
changeset
|
55 |
480
0fcbdb4539d1
Update example configuration
Tom Gottfried <tom@intevation.de>
parents:
338
diff
changeset
|
56 # Proxy settings for external OGC services |
0fcbdb4539d1
Update example configuration
Tom Gottfried <tom@intevation.de>
parents:
338
diff
changeset
|
57 #proxy-key = "SECRET" |
0fcbdb4539d1
Update example configuration
Tom Gottfried <tom@intevation.de>
parents:
338
diff
changeset
|
58 #proxy-prefix = "http://localhost:8000" |
1644
eadf84bb0e98
New config variable 'external-url'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
950
diff
changeset
|
59 # |
eadf84bb0e98
New config variable 'external-url'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
950
diff
changeset
|
60 |
eadf84bb0e98
New config variable 'external-url'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
950
diff
changeset
|
61 # Server is known on the outside as: |
eadf84bb0e98
New config variable 'external-url'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
950
diff
changeset
|
62 # external-url = "http://localhost:8000" |
480
0fcbdb4539d1
Update example configuration
Tom Gottfried <tom@intevation.de>
parents:
338
diff
changeset
|
63 |
0fcbdb4539d1
Update example configuration
Tom Gottfried <tom@intevation.de>
parents:
338
diff
changeset
|
64 # ---------------------------------------------------------------------- |
0fcbdb4539d1
Update example configuration
Tom Gottfried <tom@intevation.de>
parents:
338
diff
changeset
|
65 # CORS setup: |
0fcbdb4539d1
Update example configuration
Tom Gottfried <tom@intevation.de>
parents:
338
diff
changeset
|
66 |
0fcbdb4539d1
Update example configuration
Tom Gottfried <tom@intevation.de>
parents:
338
diff
changeset
|
67 #allowed-origins = "http://example.com" |