application.yml
1.5 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
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
server:
port: 8888
# spring 配置
spring:
application:
name: cloud-config-server
profiles:
active: dev
rabbitmq:
host: 192.168.1.63
port: 5672
username: mrz
password: vmvnv1v2
#security基本配置
security:
user:
#自定义登录用户名
name: admin
#自定义登录密码
password: 123456
cloud:
config:
label: master
server:
git:
uri: http://118.31.66.166:8099/cloud-config/cloud-config-center.git
search-paths: respo
username: 523186180@qq.com
password: 523186180
# zipkin 配置
zipkin:
base-url: http://192.168.1.63:9411
sleuth:
sampler:
probability: 1
# 日志配置
logback:
appname: cloud-config-server
logdir: ./log
#eureka client
eureka:
instance:
status-page-url: http://${eureka.instance.hostname}:${server.port}/index
prefer-ip-address: true
instance-id: ${spring.cloud.client.ip-address}:${server.port}
hostname: ${spring.cloud.client.ip-address}
metadata-map:
user:
name: "admin"
password: "123456"
client:
healthcheck:
enabled: true
service-url:
defaultZone: http://192.168.1.53:12345/eureka/
# boot admin
management:
endpoints:
enabled-by-default: true
web:
exposure:
include: "*"
endpoint:
health:
show-details: always
shutdown:
enabled: true
info:
version: 1.0
description: "服务提供者:分布式配置中心服务"