forked from corona-warn-app/cwa-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapplication.yaml
67 lines (64 loc) · 1.89 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
logging:
level:
org:
springframework:
web: INFO
app:
coronawarn: INFO
services:
distribution:
output-file-name: index
retention-days: 14
include-incomplete-days: false
include-incomplete-hours: false
paths:
output: out
privatekey: ${VAULT_FILESIGNING_SECRET}
certificate: ${VAULT_FILESIGNING_CERT}
tek-export:
file-name: export.bin
file-header: EK Export v1
file-header-width: 16
api:
version-path: version
version-v1: v1
country-path: country
country-germany: DE
date-path: date
hour-path: hour
diagnosis-keys-path: diagnosis-keys
parameters-path: configuration
app-config-file-name: app_config
signature:
app-bundle-id: de.rki.coronawarnapp
android-package: de.rki.coronawarnapp
verification-key-id:
verification-key-version:
algorithm-oid: 1.2.840.10045.4.3.2
algorithm-name: SHA256withECDSA
file-name: export.sig
security-provider: BC
# Configuration for the S3 compatible object storage hosted by Telekom in Germany
objectstore:
access-key: ${CWA_OBJECTSTORE_ACCESSKEY:accessKey1}
secret-key: ${CWA_OBJECTSTORE_SECRETKEY:verySecretKey1}
endpoint: ${CWA_OBJECTSTORE_ENDPOINT:http://localhost:8003}
bucket: ${CWA_OBJECTSTORE_BUCKET:cwa}
port: ${CWA_OBJECTSTORE_PORT:8003}
set-public-read-acl-on-put-object: true
spring:
main:
web-application-type: NONE
# Postgres configuration
jpa:
hibernate:
ddl-auto: validate
flyway:
enabled: true
locations: classpath:db/migration/postgres
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}