Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yichengstreet-be
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
yichengstreet
yichengstreet-be
Commits
2b88eeff
Commit
2b88eeff
authored
Mar 11, 2025
by
zhoubin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
正式环境
parent
b4b6c109
Pipeline
#143097
failed with stages
in 2 minutes and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
application-prod.yml
ruoyi-admin/src/main/resources/application-prod.yml
+6
-5
No files found.
ruoyi-admin/src/main/resources/application-prod.yml
View file @
2b88eeff
...
@@ -72,13 +72,14 @@ spring:
...
@@ -72,13 +72,14 @@ spring:
# redis 配置
# redis 配置
redis
:
redis
:
# 地址
# 地址
host
:
redis
host
:
redis
-prod.yx-street.svc.cluster.local
# 端口,默认为6379
# 端口,默认为6379
port
:
6379
port
:
6379
# 数据库索引
# 数据库索引
database
:
0
database
:
0
# 连接超时时间
# 连接超时时间
timeout
:
10s
timeout
:
10s
password
:
digital
lettuce
:
lettuce
:
pool
:
pool
:
# 连接池中的最小空闲连接
# 连接池中的最小空闲连接
...
@@ -95,16 +96,16 @@ spring:
...
@@ -95,16 +96,16 @@ spring:
druid
:
druid
:
# 主库数据源
# 主库数据源
master
:
master
:
url
:
jdbc:mysql://
192.168.70.2
:3306/yichengstreet?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
url
:
jdbc:mysql://
mysql-prod.yx-street.svc.cluster.local
:3306/yichengstreet?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
username
:
root
username
:
root
password
:
Zhuo@2023
password
:
P@44w0rd
# 从库数据源
# 从库数据源
slave
:
slave
:
# 从数据源开关/默认关闭
# 从数据源开关/默认关闭
enabled
:
true
enabled
:
true
url
:
jdbc:mysql://
192.168.70.2
:3306/yichengstreet-party?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
url
:
jdbc:mysql://
mysql-prod.yx-street.svc.cluster.local
:3306/yichengstreet-party?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
username
:
root
username
:
root
password
:
Zhuo@2023
password
:
P@44w0rd
# 初始连接数
# 初始连接数
initialSize
:
5
initialSize
:
5
# 最小连接池数量
# 最小连接池数量
...
...
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