This repository has been archived by the owner on May 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
application.yaml
97 lines (93 loc) · 2.67 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
server:
shutdown: graceful
ssl:
enabled: true
enabled-protocols: TLSv1.2+TLSv1.3
protocol: TLS
ciphers: >-
TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
TLS_DHE_DSS_WITH_AES_128_GCM_SHA256
TLS_DHE_DSS_WITH_AES_256_GCM_SHA384
TLS_DHE_RSA_WITH_AES_128_GCM_SHA256
TLS_DHE_RSA_WITH_AES_256_GCM_SHA384
TLS_AES_128_GCM_SHA256
TLS_AES_256_GCM_SHA384
TLS_AES_128_CCM_SHA256
key-password: ${SSL_EDUS_KEYSTORE_PASSWORD}
key-store: ${SSL_EDUS_KEYSTORE_PATH}
key-store-password: ${SSL_EDUS_KEYSTORE_PASSWORD}
client-auth: need
key-store-type: JKS
trust-store: ${SSL_EDUS_TRUSTSTORE_PATH}
trust-store-password: ${SSL_EDUS_TRUSTSTORE_PASSWORD}
lifecycle:
# keep in sync or lower than the kubernetes setting 'terminationGracePeriodSeconds'
# 5s +5s Feign client + 20s DB timeout
timeout-per-shutdown-phase: 30s
transaction:
default-timeout: 20
spring:
flyway:
enabled: true
locations: classpath:/db/migration
schemas: data_donation
# Postgres configuration
datasource:
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://${POSTGRESQL_SERVICE_HOST}:${POSTGRESQL_SERVICE_PORT}/${POSTGRESQL_DATABASE}
username: ${POSTGRESQL_USER_EDUS:postgres}
password: ${POSTGRESQL_PASSWORD_EDUS:postgres}
hikari:
schema: data_donation
# Actuator configuration
management:
server:
port: 8081
ssl:
enabled: true
enabled-protocols: TLSv1.2+TLSv1.3
protocol: TLS
ciphers: >-
TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
TLS_DHE_DSS_WITH_AES_128_GCM_SHA256
TLS_DHE_DSS_WITH_AES_256_GCM_SHA384
TLS_DHE_RSA_WITH_AES_128_GCM_SHA256
TLS_DHE_RSA_WITH_AES_256_GCM_SHA384
TLS_AES_128_GCM_SHA256
TLS_AES_256_GCM_SHA384
TLS_AES_128_CCM_SHA256
key-password: ${SSL_EDUS_KEYSTORE_PASSWORD}
key-store: ${SSL_EDUS_KEYSTORE_PATH}
key-store-password: ${SSL_EDUS_KEYSTORE_PASSWORD}
client-auth: none
endpoints:
web:
exposure:
include: metrics, prometheus, health
endpoint:
metrics:
enabled: true
prometheus:
enabled: true
health:
group:
readiness:
include: db
show-details: always
probes:
enabled: true
metrics:
export:
prometheus:
enabled: true
logging:
level:
org:
springframework: INFO
root: INFO