springboot的yml配置

server: 
  port: 8888
  
logging: 
  level: 
    root: info
    org: 
      springframework: 
        web: info
      mybatis: error
  file: logs/bi.log
  
mybatis: 
  mapper-locations: classpath:mapping/*.xml
  configuration: 
      log-impl: org.apache.ibatis.logging.stdout.StdOutImpl   #输出sql

#JavaMailSender 邮件发送的配置 smtp.qq.com;smtp.163.com
#spring.mail.host=smtp.exmail.qq.com
#[email protected]
#授权码
#spring.mail.password=rHhNMxa2cV7RUWKi
#spring.mail.properties.mail.smtp.auth=true
#spring.mail.properties.mail.smtp.starttls.enable=true
#spring.mail.properties.mail.smtp.starttls.required=true

spring: 
  #profiles:
    #active: luowei
  mail:
    host: smtp.exmail.qq.com
    username: [email protected]
    password: oAAGpL4eTECLixbv
    default-encoding: UTF-8
    properties:
      mail: 
        smtp: 
          auth: true
          starttls: 
            enable: true
            required: true
          
  redis:
    host: 127.0.0.1
    port: 6379
  datasource: 
    url: jdbc:mysql://192.168.20.212:3306/bigdata_bi?characterEncoding=UTF-8&useUnicode=true&useSSL=false&serverTimezone=Asia/Shanghai&allowMutiQueries=true&zeroDateTimeBehavior=convertToNull
    username: root
    password: 123456
    driver-class-name: com.mysql.cj.jdbc.Driver
    
  thymeleaf: 
    prefix: classpath:/templates
    suffix: .html
    mode: HTML
    encoding: UTF-8 
    #热部署文件,页面不产生缓存,及时更新
    cache: false

db:
  mysql:
    id: mysql
    serverIp: 192.168.20.212
    post: 3306
    driver-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://192.168.20.212:3306/bigdata_bi?characterEncoding=UTF-8&useUnicode=true&useSSL=false&serverTimezone=Asia/Shanghai
    username: root
    password: 123456
    file-path: d:/mysql/
    
  kylin:
    serverIp: 192.168.10.122
    post: 7070
    username: ADMIN
    password: KYLIN
    
sqoop:
  ip: hadoop101
  username: root
  password: R2018java
  url: http://192.168.10.122:8080/sqoop
  
navigation-path: classpath:navigations.xml

你可能感兴趣的:(娱乐)