server: port: 7011 url: http://192.168.0.103:7011/usercenter system-title: 统一用户管理系统 system-sub-title: 智慧城市 default-index-page: route/custom/index servlet: context-path: /usercenter spring: login-url: /oauth/login login-failure: /oauth/login?error login-process: /userlogin assets-matchers: /assets/** thymeleaf: prefix: classpath:/templates/ suffix: .html mode: HTML5 encoding: UTF-8 cache: false main: allow-bean-definition-overriding: true servlet: multipart: max-file-size: 1GB max-request-size: 1GB datasource: druid: url: jdbc:mysql://127.0.0.1:3306/db_smart_city_usercenter?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&failOverReadOnly=false&useSSL=false&serverTimezone=UTC&nullCatalogMeansCurrent=true # standby-url: jdbc:mysql://192.168.0.151:3306/db_smart_city_usercenter?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&failOverReadOnly=false&useSSL=false&serverTimezone=UTC&nullCatalogMeansCurrent=true db-type: mysql driver-class-name: com.mysql.cj.jdbc.Driver username: root password: root initial-size: 1 min-idle: 2 max-active: 5 max-wait: 60000 time-between-eviction-runs-millis: 60000 min-evictable-idle-time-millis: 300000 validation-query: SELECT 1 FROM DUAL test-while-idle: true test-on-borrow: false test-on-return: false pool-prepared-statements: true max-pool-prepared-statement-per-connection-size: 10 filter: commons-log: connection-logger-name: stat,wall,log4j stat: log-slow-sql: true slow-sql-millis: 2000 connection-properties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000 use-global-data-source-stat: true data: mongodb: uri: mongodb://smartcity:smartcity@127.0.0.1:27017/smartcity redis: database: 6 host: 127.0.0.1 port: 6379 password: 666 timeout: 3000ms jedis: pool: max-active: 8 max-wait: 1ms max-idle: 8 min-idle: 0 mybatis: config-location: classpath:mybatis/mybatis-config.xml mapper-locations: classpath*:mybatis/mapper/**/*.xml access-control: role-permission: false swagger: base-package-list: ink.wgink,cn.com.tenlion file: upload-path: /Users/wanggeng/Desktop/UploadFiles/ image-types: png,jpg,jpeg,gif,blob video-types: mp4,rmvb audio-types: mp3,wmv,amr file-types: doc,docx,xls,xlsx,ppt,pptx,txt,zip,rar,apk,pdf max-file-count: 6 image-output-quality: 0.4 # 启用minIo use-min-io: true # 与use-min-io配套使用 min-io: endpoint: http://127.0.0.1:9900 access-key: usercenter secret-key: aaa111!!! # 即时通讯 websocket: url: 127.0.0.1 port: 8081 context: websocket is-encrypt: false aes-key: SocKEtsEcReT_KeY # 短信服务 sms: active: true type: default default-sms: account: xd001382 password: xd001382136 sign: 【日喀则文化馆】 template: verification-code: '{sign} 您的验证码为 {content}, 有效时间为120秒,若非本人操作,请忽略。' logging: # enable-api-log: true file: name: /Users/wanggeng/Desktop/UploadFiles/logs/usercenter-logs.log level: root: error org.springframework.data.mongodb: debug org.springframework.web.client: debug org.springframework.boot.autoconfigure.security.servlet: debug ink.wgink: debug