forked from CatalogueOfLife/backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
45 lines (45 loc) · 1.01 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
logging:
level: INFO
loggers:
"org.col": DEBUG
"org.apache.http": WARN
"org.eclipse.jetty.servlet": WARN
"org.col.db.mapper": DEBUG
appenders:
- type: console
db:
# set host to null to use the embedded pg server
host: ${db.host}
port: 5432
database: ${db.database}
user: ${db.user}
password: ${db.password}
normalizer:
scratchDir: /tmp/colplus/scratch
archiveDir: /tmp/colplus/archives
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:
modelClass: org.col.es.model.EsNameUsage
auth:
type: gbif
api: "${gbif.api}"
appkey: ${gbif.appkey}
secret: "${gbif.secret}"
jwtKey: 3254e6rftgbzg6tz73254e6rftgbzg6tz73254e6rftgbzg6tz7
img:
repo: ${img.repo}
cors:
headers: "Authorization, Content-Type, Accept-Language, X-Requested-With"
namesIndexFile: /tmp/colplus/nidx
textTreeRepo: /tmp/colplus/trees