zoukankan      html  css  js  c++  java
  • 【Spring Boot】spring boot的配置文件application.yml

    spring:
    datasource:
    # 本地库
    url: jdbc:mysql://192.168.18.7:3306/shiptrackersmart?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull
    # 正式库
    # url: jdbc:mysql://192.168.3.141:3306/shiptrackersmart?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull
    username: root
    password: root
    driver-class-name: com.mysql.jdbc.Driver
    type: com.alibaba.druid.pool.DruidDataSource
    druid:
    max-active: 20
    initial-size: 1
    min-idle: 3
    max-wait: 60000
    time-between-eviction-runs-millis: 60000
    min-evictable-idle-time-millis: 300000
    test-while-idle: true
    test-on-borrow: false
    test-on-return: false
    thymeleaf:
    prefix: classpath:/template/
    suffix: .html
    mode: LEGACYHTML5
    encoding: UTF-8
    cache: false

    mybatis:
    mapperLocations: classpath*:net/huadong/mapper/*/*.xml
    configLocation: classpath:mybatis-config.xml

    #server:
    # port: 80

    kaptcha:
    session:
    key: kaptcha.code
    obscurificator:
    impl: com.google.code.kaptcha.impl.ShadowGimpy
    noise:
    impl: com.google.code.kaptcha.impl.NoNoise
    image:
    90
    height: 33
    textproducer:
    font:
    size: 26
    color: black
    char:
    length: 4
    space: 5

    background:
    clear:
    from: 247,247,247
    to: 247,247,247
  • 相关阅读:
    POJ 1185 状压DP
    POJ 1321
    hdu 1384 查分约束
    hdu 2196 树形dp
    hdu 4612 双联通缩点+树形dp
    poj 3469 最小割模板sap+gap+弧优化
    hdu 4858 容器的简单模拟
    hdu 4857 逆向拓扑排序+反向输出
    isap算法模板poj 1273gap+弧优化 最大流
    ISAP 算法的学习
  • 原文地址:https://www.cnblogs.com/CESC4/p/7728403.html
Copyright © 2011-2022 走看看