spring: profiles: active: dev base: com.hotent.sys.controller title: @project.name@ description: @project.description@ version: @project.version@ platform: mysql datasource: name: dev url: jdbc:mysql://192.168.1.211:3306/x7_portal_dev?serverTimezone=UTC&useSSL=false&&characterEncoding=UTF-8 username: root password: root # 使用druid数据源 type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.jdbc.Driver filters: stat maxActive: 20 initialSize: 1 maxWait: 60000 minIdle: 1 timeBetweenEvictionRunsMillis: 60000 minEvictableIdleTimeMillis: 300000 validationQuery: select 'x' testWhileIdle: true testOnBorrow: false testOnReturn: false poolPreparedStatements: true maxOpenPreparedStatements: 20 maxPoolPreparedStatementPerConnectionSize: 20 connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000 # Server settings (ServerProperties) server: port: 8091 address: 0.0.0.0 sessionTimeout: 30 contextPath: / session: timeout: 30