Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
H
hzsomms
Project
Project
Details
Activity
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
ZTGK
hzsomms
Commits
4fa2289f
Commit
4fa2289f
authored
Jul 15, 2024
by
hkl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:1.提交生产配置
parent
28074917
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
16 deletions
+16
-16
pom.xml
jeecg-module-system/pom.xml
+4
-4
application-prod.yml
jeecg-module-system/src/main/resources/application-prod.yml
+12
-12
No files found.
jeecg-module-system/pom.xml
View file @
4fa2289f
...
@@ -65,10 +65,6 @@
...
@@ -65,10 +65,6 @@
<properties>
<properties>
<package.environment>
dev
</package.environment>
<package.environment>
dev
</package.environment>
</properties>
</properties>
<!-- 是否默认 true表示默认-->
<activation>
<activeByDefault>
true
</activeByDefault>
</activation>
</profile>
</profile>
<!-- 测试环境 -->
<!-- 测试环境 -->
...
@@ -85,6 +81,10 @@
...
@@ -85,6 +81,10 @@
<properties>
<properties>
<package.environment>
prod
</package.environment>
<package.environment>
prod
</package.environment>
</properties>
</properties>
<!-- 是否默认 true表示默认-->
<activation>
<activeByDefault>
true
</activeByDefault>
</activation>
</profile>
</profile>
</profiles>
</profiles>
...
...
jeecg-module-system/src/main/resources/application-prod.yml
View file @
4fa2289f
...
@@ -104,7 +104,7 @@ spring:
...
@@ -104,7 +104,7 @@ spring:
loginPassword
:
alqw1w55+1234jkdf1234
loginPassword
:
alqw1w55+1234jkdf1234
allow
:
allow
:
web-stat-filter
:
web-stat-filter
:
enabled
:
tru
e
enabled
:
fals
e
dynamic
:
dynamic
:
druid
:
# 全局druid参数,绝大部分值和默认保持一致。(现已支持的参数如下,不清楚含义不要乱设置)
druid
:
# 全局druid参数,绝大部分值和默认保持一致。(现已支持的参数如下,不清楚含义不要乱设置)
# 连接池的配置信息
# 连接池的配置信息
...
@@ -131,14 +131,14 @@ spring:
...
@@ -131,14 +131,14 @@ spring:
connectionProperties
:
druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
connectionProperties
:
druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
datasource
:
datasource
:
master
:
master
:
url
:
jdbc:mysql://1
27.0.0.1:3306/hzgw_prod
?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&zeroDateTimeBehavior=convertToNull
url
:
jdbc:mysql://1
72.16.240.225:3306/hzgw
?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&zeroDateTimeBehavior=convertToNull
username
:
root
username
:
root
password
:
superAdmin&321
password
:
ABCD@abcd+1234
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
#redis 配置
#redis 配置
redis
:
redis
:
database
:
3
database
:
0
host
:
127.0.0.1
host
:
localhost
lettuce
:
lettuce
:
pool
:
pool
:
max-active
:
8
#最大连接数据库连接数,设 0 为没有限制
max-active
:
8
#最大连接数据库连接数,设 0 为没有限制
...
@@ -146,8 +146,8 @@ spring:
...
@@ -146,8 +146,8 @@ spring:
max-wait
:
-1ms
#最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
max-wait
:
-1ms
#最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
min-idle
:
0
#最小等待连接中的数量,设 0 为没有限制
min-idle
:
0
#最小等待连接中的数量,设 0 为没有限制
shutdown-timeout
:
100ms
shutdown-timeout
:
100ms
password
:
'
redis@123
'
password
:
'
ABCD@abcd+1234
'
port
:
6
773
port
:
6
379
#mybatis plus 设置
#mybatis plus 设置
mybatis-plus
:
mybatis-plus
:
mapper-locations
:
classpath*:org/jeecg/modules/**/xml/*Mapper.xml
mapper-locations
:
classpath*:org/jeecg/modules/**/xml/*Mapper.xml
...
@@ -178,13 +178,13 @@ jeecg:
...
@@ -178,13 +178,13 @@ jeecg:
uploadType
:
local
uploadType
:
local
# 前端访问地址
# 前端访问地址
domainUrl
:
domainUrl
:
pc
:
http
://localhost:3100
pc
:
http
s://dtgwgd.mtros.cn:19908
app
:
http
://localhost:8051
app
:
http
s://dtgwgd.mtros.cn:19908
path
:
path
:
#文件上传根目录 设置
#文件上传根目录 设置
upload
:
/opt/
etc/
file
upload
:
/opt/file
#webapp文件路径
#webapp文件路径
webapp
:
/opt/
etc/
file
webapp
:
/opt/file
shiro
:
shiro
:
excludeUrls
:
/test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**
excludeUrls
:
/test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**
#阿里云oss存储和大鱼短信秘钥配置
#阿里云oss存储和大鱼短信秘钥配置
...
@@ -200,7 +200,7 @@ jeecg:
...
@@ -200,7 +200,7 @@ jeecg:
cluster-nodes
:
81.70.47.128:9200
cluster-nodes
:
81.70.47.128:9200
check-enabled
:
false
check-enabled
:
false
# 在线预览文件服务器地址配置
# 在线预览文件服务器地址配置
file-view-domain
:
http
://47.94.207.62:18000
file-view-domain
:
http
s://dtgwgd.mtros.cn:19908
# minio文件上传
# minio文件上传
minio
:
minio
:
minio_url
:
http://minio.jeecg.com
minio_url
:
http://minio.jeecg.com
...
...
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