application-prod.yml 1.27 KB
server:
  port: 8008
  tomcat:
    uri-encoding: UTF-8
    threads:
      max: 200
      min-spare: 20
    accept-count: 100
spring:
  servlet:
    multipart:
      maxFileSize: 200MB
      maxRequestSize: 200MB
  profiles:
    active: share
  http:
    encoding:
      charset: UTF-8
      enabled: true
      force: true
  application:
    name: boot-service
  redis:
#    database: 0
#    host: 127.0.0.1
#    port: 6379
#    password:
    database: 8
    host: xirong-redis.redis.rds.aliyuncs.com
    port: 6379
    password: V3DRCkIiBH

  activiti:
    database-schema-update: false
  datasource:
    url: jdbc:mysql://rm-2zeo2635t3c592h2ywo.mysql.rds.aliyuncs.com:3306/estate?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8&useSSL=false&cachePrepStmts=true&useServerPrepStmts=true&cacheCallableStmts=true&prepStmtCacheSize=256&prepStmtCacheSqlLimit=2048&socketTimeout=30000&connectTimeout=10000
    username: estate
    password: MySQL57@123
    type: com.alibaba.druid.pool.DruidDataSource
    driver-class-name: com.mysql.cj.jdbc.Driver
    druid:
      initial-size: 10
      max-active: 50
      min-idle: 10
      max-wait: 60000

eureka:
  client:
    enabled: false

feign:
  client:
    config:
      default:
        connect-timeout: 10000
        read-timeout: 20000