-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadmin-service-dev.yml
More file actions
54 lines (51 loc) · 1.28 KB
/
admin-service-dev.yml
File metadata and controls
54 lines (51 loc) · 1.28 KB
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
server:
port: 9094
eureka:
instance:
hostname: localhost
port: 9091
health-check-url-path: /actuator/health
metadata-map:
startup: ${random.int} #needed to trigger info and endpoint update after restart
user:
name: "user" #These two are needed so that the server
password: "password" #can access the protected client endpoints
client:
serviceUrl:
defaultZone: http://localhost:9091/eureka/
spring:
application:
name: admin-service
profiles:
active:
- secure
boot:
admin:
context-path: /admin
ui:
title: Mixed Salad Admin
notify:
telegram:
enabled: true
auth-token: 798219666:AAHjjOXnUdV1yNsw_HNUfUlN4hu2A9AoxAo
chat-id: -377205524
parse-mode: 'HTML'
message: "<strong>#{instance.registration.name}</strong>/#{instance.id} is <strong>#{event.statusInfo.status}</strong>"
security:
user:
name: "user"
password: "password"
zipkin:
base-url: http://localhost:9095/
management:
endpoints:
web:
exposure:
include: "*" #<2>
endpoint:
health:
show-details: ALWAYS
logging:
pattern:
console: "%d{yyyy-MM-dd HH:mm:ss} ${LOG_LEVEL_PATTERN:-%5p} %m%n"
file: logs/admin-service.log