src/main/resources/application-dev.yml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/resources/application-pro.yml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/resources/application.yml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/resources/application-dev.yml
New file @@ -0,0 +1,55 @@ # 端口号 server: port: 8080 # spring配置 spring: # 数据源配置 datasource: url: jdbc:mysql://221.237.182.28:19002/qyjz?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai username: root password: 234#Wersdf! driverClassName: com.mysql.cj.jdbc.Driver type: com.zaxxer.hikari.HikariDataSource # 数据库连接池配置 hikari: minimum-idle: 10 maximum-pool-size: 30 auto-commit: true idle-timeout: 30000 pool-name: HikariCP max-lifetime: 900000 connection-timeout: 10000 connection-test-query: SELECT 1 validation-timeout: 1000 servlet: multipart: max-file-size: 50MB jackson: date-format: yyyy-MM-dd HH:mm:ss time-zone: GMT+8 # minio配置 minio: address: http://221.237.182.28:19000 accessKey: admin secretKey: 234#Wersdf! bucketName: img url: 221.237.182.28:19000/minio/ # mybatis配置 mybatis-plus: global-config: banner: false db-config: id-type: auto field-strategy: NOT_NULL logging: level: com.example.jz: debug #小程序 wx: appid: wxd7bb3a22cfb97aaa secret: 0d08a9dfe83749d65aea9a0ad3a23b5a src/main/resources/application-pro.yml
New file @@ -0,0 +1,53 @@ # 端口号 server: port: 8080 # spring配置 spring: # 数据源配置 datasource: url: jdbc:mysql://221.237.182.28:19002/qyjz?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai username: root password: 234#Wersdf! driverClassName: com.mysql.cj.jdbc.Driver type: com.zaxxer.hikari.HikariDataSource # 数据库连接池配置 hikari: minimum-idle: 10 maximum-pool-size: 30 auto-commit: true idle-timeout: 30000 pool-name: HikariCP max-lifetime: 900000 connection-timeout: 10000 connection-test-query: SELECT 1 validation-timeout: 1000 servlet: multipart: max-file-size: 50MB jackson: date-format: yyyy-MM-dd HH:mm:ss time-zone: GMT+8 # minio配置 minio: address: http://221.237.182.28:19000 accessKey: admin secretKey: 234#Wersdf! bucketName: img url: /minio/ # mybatis配置 mybatis-plus: global-config: banner: false db-config: id-type: auto field-strategy: NOT_NULL configuration: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #小程序 wx: appid: wxd7bb3a22cfb97aaa secret: 0d08a9dfe83749d65aea9a0ad3a23b5a src/main/resources/application.yml
@@ -1,55 +1,3 @@ # 端口号 server: port: 8080 # spring配置 spring: # 数据源配置 datasource: url: jdbc:mysql://221.237.182.28:19002/qyjz?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai username: root password: 234#Wersdf! driverClassName: com.mysql.cj.jdbc.Driver type: com.zaxxer.hikari.HikariDataSource # 数据库连接池配置 hikari: minimum-idle: 10 maximum-pool-size: 30 auto-commit: true idle-timeout: 30000 pool-name: HikariCP max-lifetime: 900000 connection-timeout: 10000 connection-test-query: SELECT 1 validation-timeout: 1000 servlet: multipart: max-file-size: 50MB jackson: date-format: yyyy-MM-dd HH:mm:ss time-zone: GMT+8 # minio配置 minio: address: http://221.237.182.28:19000 accessKey: admin secretKey: 234#Wersdf! bucketName: img url: 221.237.182.28:19000/minio/ # mybatis配置 mybatis-plus: global-config: banner: false db-config: id-type: auto field-strategy: NOT_NULL logging: level: com.example.jz: debug #小程序 wx: appid: wxd7bb3a22cfb97aaa secret: 0d08a9dfe83749d65aea9a0ad3a23b5a profiles: active: dev