forked from corona-warn-app/cwa-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
application.yaml
50 lines (47 loc) · 1.2 KB
/
application.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
---
logging:
level:
org:
springframework:
web: INFO
# The initial value of the moving average for fake request delays.
services:
submission:
initial-fake-delay-milliseconds: 10
# The number of samples for the calculation of the moving average for fake request delays.
fake-delay-moving-average-samples: 10
retention-days: 14
payload:
max-number-of-keys: 14
verification:
base-url: ${VERIFICATION_BASE_URL:http://localhost:8004}
path: /version/v1/tan/verify
spring:
jpa:
hibernate:
ddl-auto: validate
flyway:
enabled: true
locations: classpath:db/migration/postgres
# Postgres configuration
datasource:
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://${POSTGRESQL_SERVICE_HOST:localhost}:${POSTGRESQL_SERVICE_PORT:5432}/${POSTGRESQL_DATABASE:cwa}
username: ${POSTGRESQL_USER:postgres}
password: ${POSTGRESQL_PASSWORD:postgres}
management:
server:
port: 8081
endpoint:
metrics:
enabled: true
prometheus:
enabled: true
endpoints:
web:
exposure:
include: 'flyway, health, info, metrics, prometheus'
metrics:
export:
prometheus:
enabled: true