application-prd.yml 1.16 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
spring:
  config:
    #import:
    #  - classpath: application-test.yml
    activate:
      on-profile: prd
  mvc:
    pathmatch:
      matching-strategy: ant_path_matcher
  redis:
11
    host: 192.168.0.222
12 13 14 15 16 17 18 19 20 21 22 23 24
    password: '@yf_2022'
    port: 22379
  cloud:
    sentinel:
      eager: true
      transport:
        dashboard: yifu-sentinel:5003
  # 数据源
  datasource:
    type: com.zaxxer.hikari.HikariDataSource
    driver-class-name: com.mysql.cj.jdbc.Driver
    username: root
    password: yf_zsk
fangxinjiang's avatar
fangxinjiang committed
25
    url: jdbc:mysql://192.168.0.222:22306/yifu_upms?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
26 27 28 29 30 31 32 33 34 35 36 37 38 39
  freemarker:
    allow-request-override: false
    allow-session-override: false
    cache: true
    charset: UTF-8
    check-template-location: true
    content-type: text/html
    enabled: true
    expose-request-attributes: false
    expose-session-attributes: false
    expose-spring-macro-helpers: true
    prefer-file-system-access: true
    suffix: .ftl
    template-loader-path: classpath:/templates/