|
|
server:
|
|
|
port: 9011
|
|
|
ip: 10.50.3.82
|
|
|
# spring 配置
|
|
|
spring:
|
|
|
application:
|
|
|
name: cgonms-arrival
|
|
|
profiles:
|
|
|
active: dev
|
|
|
datasource:
|
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
|
driver-class-name: oracle.jdbc.OracleDriver
|
|
|
url: jdbc:oracle:thin:@192.168.1.253:1522:ORCLL
|
|
|
username: CGONMS
|
|
|
password: vmvnv1v2
|
|
|
|
|
|
jackson:
|
|
|
default-property-inclusion: ALWAYS
|
|
|
time-zone: GMT+8
|
|
|
date-format: yyyy-MM-dd
|
|
|
security:
|
|
|
user:
|
|
|
name: admin
|
|
|
password: 123456
|
|
|
# zipkin 配置
|
|
|
zipkin:
|
|
|
base-url: http://192.168.1.63:9411
|
|
|
sleuth:
|
|
|
sampler:
|
|
|
probability: 1
|
|
|
|
|
|
# mybatis配置
|
|
|
mybatis:
|
|
|
mapper-locations: classpath:mapper/*.xml
|
|
|
type-aliases-package: com.sunyo.wlpt.cgonms.arrival.domain
|
|
|
|
|
|
# 日志配置
|
|
|
logging:
|
|
|
config: config/logback-dev.xml
|
|
|
level:
|
|
|
com.sunyo.wlpt.cgonms.arrival.mapper: debug
|
|
|
logback:
|
|
|
appname: cgonms-arrival
|
|
|
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: false
|
|
|
client:
|
|
|
config:
|
|
|
default:
|
|
|
connectTimeout: 1000000 # feign 的超时设置
|
|
|
readTimeout: 1000000
|
|
|
# boot admin
|
|
|
management:
|
|
|
endpoints:
|
|
|
enabled-by-default: true
|
|
|
web:
|
|
|
exposure:
|
|
|
include: ["*"]
|
|
|
endpoint:
|
|
|
health:
|
|
|
show-details: always
|
|
|
shutdown:
|
|
|
enabled: true
|
|
|
|
|
|
path:
|
|
|
# 文件夹的位置,就一个文件夹
|
|
|
dir: excel
|
|
|
|
|
|
delete:
|
|
|
# 删除7天之前的excel文件
|
|
|
timeInterval: 604800000 |
...
|
...
|
|