-
Notifications
You must be signed in to change notification settings - Fork 11
/
config.yaml
71 lines (71 loc) · 1.56 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
server:
requestLog:
type: logback-access
appenders:
- type: console
timeZone: UTC
logging:
level: INFO
loggers:
"org.apache.http": WARN
"org.eclipse.jetty.servlet": WARN
"life.catalogue": INFO
"life.catalogue.db.mapper": DEBUG
"life.catalogue.db.legacy": INFO
appenders:
- type: console
timeZone: UTC
mail:
host: smtp.gbif.org
from: [email protected]
fromName: Catalogue of Life TEST
replyTo: [email protected]
bcc:
db:
# set host to null to use the embedded pg server
host: ${db.host}
port: ${db.port}
database: ${db.database}
user: ${db.user}
password: ${db.password}
normalizer:
scratchDir: /tmp/col/scratch
archiveDir: /tmp/col/archives
downloadURI: "http://localhost"
client:
timeout: 10000ms
connectionTimeout: 5000ms
timeToLive: 1h
cookiesEnabled: false
maxConnections: 64
maxConnectionsPerRoute: 16
keepAlive: 0ms
retries: 1
es:
hosts: ${es.hosts}
ports: ${es.ports}
nameUsage:
name: ${es.index}
numShards: 1
numReplicas: 0
auth:
type: map
users:
- username: user
password: test
- username: editor
password: test
role: editor
datasets: [1,2,3,1000]
- username: admin
password: test
role: admin
jwtKey: 3254e6rftgbzg6tz73254e6rftgbzg6tz73254e6rftgbzg6tz7
img:
repo: ${img.repo}
archive: ${img.repo}/archive
cors:
headers: "Authorization, Content-Type, Accept-Language, X-Requested-With, User-Agent, Referer"
namesIndexFile: /tmp/col/nidx
metricsRepo: /tmp/col/metrics