Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-api-boot-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-api-boot-master
Commits
f73c47c2
Commit
f73c47c2
authored
Nov 14, 2024
by
wux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改环境配置
parent
56ccf5d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
application-dev.yaml
yudao-server/src/main/resources/application-dev.yaml
+4
-4
No files found.
yudao-server/src/main/resources/application-dev.yaml
View file @
f73c47c2
...
...
@@ -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
driver-class-name
:
com.mysql.cj.jdbc.Driver
username
:
jiedaodb
password
:
pcn49
1nh086trmjh
password
:
pcn49
&&1nh@086tr
slave
:
# 模拟从库,可根据自己需要修改
name
:
jiedao
# 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
driver-class-name
:
com.mysql.cj.jdbc.Driver
username
:
jiedaodb
password
:
pcn49
1nh086trmjh
password
:
pcn49
&&1nh@086tr
# Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优
redis
:
host
:
172.18.96.67
# 地址
port
:
2796
# 端口
password
:
c
h09tx653&t
password
:
c
32sW2c86
database
:
0
# 数据库索引
timeout
:
60s
connect-timeout
:
60s
...
...
@@ -72,7 +72,7 @@ spring:
redis-host
:
172.18.96.67
# redis server IP 默认值:127.0.0.1
redis-port
:
2796
# redis service 端口 默认值:6379
redis-db
:
4
# redis service 数据库 默认值:6379
redis-password
:
c
h09tx653&t
# redis 访问密码 默认值:null
redis-password
:
c
32sW2c86
# redis 访问密码 默认值:null
redis-connection-timeout
:
2000
# redis 连接超时时间 默认值:2000
redis-pool-max-idle
:
50
# redis 连接池最大空闲连接数 默认值:50
redis-pool-min-idle
:
10
# redis 连接池最小空闲连接数 默认值: 10
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment