-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapplication.yml
63 lines (57 loc) · 1.21 KB
/
application.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
# Web server properties start with prefix 'server'
server:
port: 8080
#You must enable AND expose actuator endpoints
# Spring Boot 2 requires enabling and exposing
management:
endpoints:
enabled-by-default: true #enable all
web:
exposure:
include:
- '*' #expose all
# Example of custom config property handling
example:
string-one: The first
string-two: 2nd
email: [email protected]
my-number: 8849
map:
z: Thing Z
y: Thing Y
x: Thing X
spring:
datasource:
url: jdbc:h2:mem:testdb
driver-class-name: org.h2.Driver
username: sa
password:
jpa:
database-platform: org.hibernate.dialect.H2Dialect
# Example of how to configure endpoints individually
#management:
# endpoint:
# auditevents:
# enabled: true
# beans:
# enabled: true
# conditions:
# enabled: true
# health:
# enabled: true
# info:
# enabled: true
# endpoints:
# web:
# exposure:
# include:
# - auditevents
# - beans
# - conditions
# - health
# - info
# Change actuator web path from `actuator` to `manage`
#management:
# endpoints:
# web.base:
# path: '/manage'