application.yml
1.7 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
server:
port: 9003
# spring \u914D\u7F6E
spring:
application:
name: cgonms-provide
datasource:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://118.31.66.166:3306/air_transport?characterEncoding=utf8&serverTimezone=Asia/Shanghai&rewriteBatchedStatements=true
username: 110
password: QAHqCJf2kFYCLirM
profiles:
active: dev
jackson:
default-property-inclusion: ALWAYS
time-zone: GMT+8
date-format: yyyy-MM-dd
# security:
# user:
# name: admin
# password: 123456
# \u94FE\u8DEF\u8FFD\u8E2A\u914D\u7F6E
zipkin:
base-url: http://192.168.1.63:9411
sleuth:
sampler:
probability: 1
# mybatis\u914D\u7F6E
mybatis:
mapper-locations: classpath:mapper/*.xml
type-aliases-package: com.sunyo.wlpt.transport.provide.domain
# \u65E5\u5FD7\u6253\u5370
#logging:
# config: config/logback-dev.xml
# level:
# com.sunyo.wlpt.transport.provide.mapper: debug
#logback:
# appname: cgonms-provide
# 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"
# passwoed: "123456"
client:
healthcheck:
enabled: true
service-url:
defaultZone: http://192.168.1.53:12345/eureka/
feign:
hystrix:
enabled: true
# boot admin
management:
endpoints:
enabled-by-default: true
web:
exposure:
include: ["*"]
endpoint:
health:
show-details: always
shutdown:
enabled: true