-
Notifications
You must be signed in to change notification settings - Fork 83
/
base.yml
100 lines (91 loc) · 2.26 KB
/
base.yml
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
98
99
server:
port: ${PORT:8080}
tomcat:
remote_ip_header: x-forwarded-for
protocol_header: x-forwarded-proto
mbeanregistry:
enabled: true
servlet:
session:
## User sessions should not be persistent across service restarts by default.
persistent: false
## User login session timeout after 1 hour (3600 seconds)
timeout: 3600
spring:
application:
name: Kafka Webview
datasource:
url: "jdbc:h2:file:./data/db"
username: sa
password:
driver-class-name: org.h2.Driver
flyway:
locations: "classpath:schema/migration/{vendor}"
baselineOnMigrate: true
servlet:
multipart:
max-file-size: 64MB
max-request-size: 64MB
thymeleaf:
cache: false
enabled: true
prefix: "classpath:/templates/"
suffix: ".html"
mode: HTML
encoding: UTF-8
check-template-location: true
jpa:
hibernate:
ddl-auto: none
show-sql: false
open-in-view: true
# Spring Actuator - global
management:
server:
port: ${ACUATOR_PORT:9090}
endpoints:
web:
exposure:
include: "*"
endpoint:
health:
show-details: when_authorized
metrics:
tags:
application: ${spring.application.name}
## Disable LDAP by default
health:
ldap:
enabled: false
# Spring Actuator - Info endpoint
info:
app:
name: ${spring.application.name}
## Various App Configs
app:
name: Kafka Web View
uploadPath: "./data/uploads"
key: "SuperSecretKey"
multiThreadedConsumer: true
maxConcurrentWebConsumers: 32
maxConcurrentWebSocketConsumers: 64
consumerIdPrefix: "KafkaWebViewConsumer"
requireSsl: true
user:
enabled: true
## Ldap auth settings
ldap:
enabled: false
userDnPattern: "uid={0},ou=people"
groupSearchBase: "ou=groups"
groupRoleAttribute: "cn"
groupSearchFilter: "(uniqueMember={0})"
passwordAttribute: "userPassword"
passwordEncoderClass: "org.springframework.security.crypto.password.LdapShaPasswordEncoder"
adminGroups: ""
userGroups: ""
url: "ldap://localhost:63182/dc=example,dc=org"
## If LDAP does not allow anonymous access, define the user/password to connect using.
## If not required, leave both fields empty
bindUser:
bindUserPassword: