Commit f73c47c2 authored by wux's avatar wux

修改环境配置

parent 56ccf5d6
...@@ -50,20 +50,20 @@ spring: ...@@ -50,20 +50,20 @@ spring:
url: jdbc:mysql://172.18.96.67:2795/${spring.datasource.dynamic.datasource.master.name}?useUnicode=true&useSSL=true&characterEncoding=utf8&characterSetResults=utf8&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&autoReconnect=true&rewriteBatchedStatements=TRUE url: jdbc:mysql://172.18.96.67:2795/${spring.datasource.dynamic.datasource.master.name}?useUnicode=true&useSSL=true&characterEncoding=utf8&characterSetResults=utf8&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&autoReconnect=true&rewriteBatchedStatements=TRUE
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
username: jiedaodb username: jiedaodb
password: pcn491nh086trmjh password: pcn49&&1nh@086tr
slave: # 模拟从库,可根据自己需要修改 slave: # 模拟从库,可根据自己需要修改
name: jiedao name: jiedao
# name: ruoyi-vue-pro-flowable # name: ruoyi-vue-pro-flowable
url: jdbc:mysql://172.18.96.67:2795/${spring.datasource.dynamic.datasource.slave.name}?useUnicode=true&useSSL=true&characterEncoding=utf8&characterSetResults=utf8&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&autoReconnect=true&rewriteBatchedStatements=TRUE url: jdbc:mysql://172.18.96.67:2795/${spring.datasource.dynamic.datasource.slave.name}?useUnicode=true&useSSL=true&characterEncoding=utf8&characterSetResults=utf8&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&autoReconnect=true&rewriteBatchedStatements=TRUE
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
username: jiedaodb username: jiedaodb
password: pcn491nh086trmjh password: pcn49&&1nh@086tr
# Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优 # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优
redis: redis:
host: 172.18.96.67 # 地址 host: 172.18.96.67 # 地址
port: 2796 # 端口 port: 2796 # 端口
password: ch09tx653&t password: c32sW2c86
database: 0 # 数据库索引 database: 0 # 数据库索引
timeout: 60s timeout: 60s
connect-timeout: 60s connect-timeout: 60s
...@@ -72,7 +72,7 @@ spring: ...@@ -72,7 +72,7 @@ spring:
redis-host: 172.18.96.67 # redis server IP 默认值:127.0.0.1 redis-host: 172.18.96.67 # redis server IP 默认值:127.0.0.1
redis-port: 2796 # redis service 端口 默认值:6379 redis-port: 2796 # redis service 端口 默认值:6379
redis-db: 4 # redis service 数据库 默认值:6379 redis-db: 4 # redis service 数据库 默认值:6379
redis-password: ch09tx653&t # redis 访问密码 默认值:null redis-password: c32sW2c86 # redis 访问密码 默认值:null
redis-connection-timeout: 2000 # redis 连接超时时间 默认值:2000 redis-connection-timeout: 2000 # redis 连接超时时间 默认值:2000
redis-pool-max-idle: 50 # redis 连接池最大空闲连接数 默认值:50 redis-pool-max-idle: 50 # redis 连接池最大空闲连接数 默认值:50
redis-pool-min-idle: 10 # redis 连接池最小空闲连接数 默认值: 10 redis-pool-min-idle: 10 # redis 连接池最小空闲连接数 默认值: 10
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment