transport-arrival-dev.yml 1.7 KB
server:
  port: 9013

# spring \u914D\u7F6E
spring:
  application:
    name: transport-arrival
  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.arrival.domain

# \u65E5\u5FD7\u6253\u5370
logging:
  config: config/logback-dev.xml
  level:
    com.sunyo.wlpt.transport.arrival.mapper: debug
logback:
  appname: transport-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"
        password: "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