Commit 4fa2289f authored by hkl's avatar hkl

feat:1.提交生产配置

parent 28074917
...@@ -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>
......
...@@ -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: true enabled: false
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://127.0.0.1:3306/hzgw_prod?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&zeroDateTimeBehavior=convertToNull url: jdbc:mysql://172.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: 6773 port: 6379
#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: https://dtgwgd.mtros.cn:19908
app: http://localhost:8051 app: https://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: https://dtgwgd.mtros.cn:19908
# minio文件上传 # minio文件上传
minio: minio:
minio_url: http://minio.jeecg.com minio_url: http://minio.jeecg.com
......
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