Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
a7ed87a0
Commit
a7ed87a0
authored
Oct 13, 2022
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
单实例配置
parent
eb593eca
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
42 deletions
+52
-42
application-single.properties
...em-equip/src/main/resources/application-single.properties
+52
-42
No files found.
amos-boot-system-equip/src/main/resources/application-single.properties
View file @
a7ed87a0
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
spring.datasource.url
=
jdbc:mysql://172.16.
6.60:3306/xiy_amos_satety_business
?useUnicode=true&allowMultiQueries=true&characterEncoding=utf-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai
spring.datasource.url
=
jdbc:mysql://172.16.
10.211/xiy_safety_business_v3.0.1_20100712
?useUnicode=true&allowMultiQueries=true&characterEncoding=utf-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai
spring.datasource.username
=
root
spring.datasource.username
=
root
spring.datasource.password
=
root_123
spring.datasource.password
=
Yeejoin@2020
spring.datasource.type
=
com.zaxxer.hikari.HikariDataSource
spring.datasource.type
=
com.zaxxer.hikari.HikariDataSource
spring.datasource.hikari.pool-name
=
DatebookHikariCP
spring.datasource.hikari.pool-name
=
DatebookHikariCP
spring.datasource.hikari.minimum-idle
=
3
spring.datasource.hikari.minimum-idle
=
3
...
@@ -14,67 +14,71 @@ spring.datasource.hikari.connection-test-query= SELECT 1
...
@@ -14,67 +14,71 @@ spring.datasource.hikari.connection-test-query= SELECT 1
# \u6587\u4EF6\u670D\u52A1\u5668\u5730\u5740
# \u6587\u4EF6\u670D\u52A1\u5668\u5730\u5740
fileserver_domain
=
http://39.98.45.134:9000/
fileserver_domain
=
http://172.16.10.211:9000/
#eureka.instance.ip-address= 172.16.3.135
#eureka.instance.ip-address= 172.16.3.135
eureka.instance.hostname
=
172.16.3.97
eureka.instance.hostname
=
172.16.10.211
eureka.instance.prefer-ip-address
=
true
eureka.client.serviceUrl.defaultZone
:
http://${eureka.instance.hostname}:10001/eureka/
eureka.client.serviceUrl.defaultZone
:
http://${eureka.instance.hostname}:10001/eureka/
#security config
#security config
#security.password=a1234560
#security.password=a1234560
#security.loginId=fas_system
#security.loginId=fas_system
#
security.productApp=STUDIO_APP_MOBILE
security.productApp
=
STUDIO_APP_MOBILE
#security.productWeb=STUDIO_APP_WEB
#security.productWeb=STUDIO_APP_WEB
#security.productApp=STUDIO_APP_MOBILE
#security.appKeyApp=studio_normalapp_3056965
security.productApp
=
STUDIO_APP_MOBILE
amos.system.user.user-name
=
fas_system
amos.system.user.user-name
=
fas_system
amos.system.user.password
=
a1234560
amos.system.user.password
=
a1234560
amos.system.user.app-key
=
studio_normalapp_3056965
amos.system.user.app-key
=
studio_normalapp_3056965
amos.system.user.product
=
AMOS_STUDIO_WEB
amos.system.user.product
=
STUDIO_APP_WEB
#redis
##redis
#spring.redis.database=1
#spring.redis.host=172.16.3.35
#spring.redis.port=6379
#spring.redis.password=yeejoin@2020
#spring.redis.lettuce.pool.max-active=200
#spring.redis.lettuce.pool.max-wait=-1
#spring.redis.lettuce.pool.max-idle=10
#spring.redis.lettuce.pool.min-idle=0
#spring.redis.expire.time=300
#redis
#redis 基础配置
#redis 基础配置
spring.redis.database
=
0
spring.redis.database
=
1
# 连接超时时长ms
# 连接超时时长ms
spring.redis.timeout
=
10000
spring.redis.timeout
=
10000
spring.redis.password
=
spring.redis.password
=
yeejoin@2020
# 连接池最大连接数(使用负值表示没有限制)
# 连接池最大连接数(使用负值表示没有限制)
spring.redis.lettuce.pool.max-active
=
3
#spring.redis.lettuce.pool.max-active=3
# 连接池中的最小空闲连接
## 连接池中的最小空闲连接
spring.redis.lettuce.pool.min-idle
=
2
#spring.redis.lettuce.pool.min-idle=2
# 连接池中的最大空闲连接
## 连接池中的最大空闲连接
spring.redis.lettuce.pool.max-idle
=
3
#spring.redis.lettuce.pool.max-idle=3
# 连接池最大阻塞等待时间(使用负值表示没有限制)
## 连接池最大阻塞等待时间(使用负值表示没有限制)
spring.redis.lettuce.pool.max-wait
=
-1
#spring.redis.lettuce.pool.max-wait=-1
#在关闭客户端连接之前等待任务处理完成的最长时间,在这之后,无论任务是否执行完成,都会被执行器关闭,默认100ms
##在关闭客户端连接之前等待任务处理完成的最长时间,在这之后,无论任务是否执行完成,都会被执行器关闭,默认100ms
spring.redis.lettuce.shutdown-timeout
=
100
#spring.redis.lettuce.shutdown-timeout=100
#单机集群判断 cluster集群 single单机
#spring.redis.mode=cluster
#集群配置
#spring.redis.cluster.nodes=172.16.3.41:6381,172.16.3.41:6002
#spring.redis.cluster.max-redirects=3
#spring.redis.cluster.scan-interval=1000
#spring.redis.cluster.read-mode=SLAVE
#spring.redis.cluster.retry-attempts=3
#spring.redis.cluster.failed-attempts=3
#spring.redis.cluster.slave-connection-pool-size=64
#spring.redis.cluster.master-connection-pool-size=64
#spring.redis.cluster.retry-interval=1500
spring.redis.expire.time
=
300
#单机集群判断 cluster集群 single单机
#单机集群判断 cluster集群 single单机
spring.redis.mode
=
single
spring.redis.mode
=
single
#redis 单机配置
#redis 单机配置
spring.redis.host
=
172.16.1
1.20
spring.redis.host
=
172.16.1
0.211
spring.redis.port
=
6379
spring.redis.port
=
6379
spring.redis.redissonUrl
=
172.16.11.20:6379
spring.redis.redissonUrl
=
172.16.10.211:6379
...
@@ -87,8 +91,7 @@ emqx.client-password=a123456
...
@@ -87,8 +91,7 @@ emqx.client-password=a123456
emqx.max-inflight
=
1000
emqx.max-inflight
=
1000
emqx.keep-alive-interval
=
10
emqx.keep-alive-interval
=
10
mqtt.scene.host
=
mqtt://172.16.10.211:8083/mqtt
mqtt.scene.host
=
mqtt://172.16.3.35:8083/mqtt
mqtt.client.product.id
=
mqtt
mqtt.client.product.id
=
mqtt
mqtt.topic
=
topic_mqtt
mqtt.topic
=
topic_mqtt
spring.mqtt.completionTimeout
=
3000
spring.mqtt.completionTimeout
=
3000
...
@@ -128,4 +131,11 @@ param.nrflvbyvoideoid.url=http://192.168.4.159:10010/api/media/live
...
@@ -128,4 +131,11 @@ param.nrflvbyvoideoid.url=http://192.168.4.159:10010/api/media/live
# 预案消防炮、消防泵设备维度类型
# 预案消防炮、消防泵设备维度类型
equipment.plan.monitor
=
92030200,92032200
equipment.plan.monitor
=
92030200,92032200
equipment.plan.pump
=
92010600,92030600,92130400,92140200,92150300
equipment.plan.pump
=
92010600,92030600,92130400,92140200,92150300
# 机场使用特殊配置iotCode前缀,装备、车辆及导入使用到
# 机场使用
#iot.code.prefix.have.used=20210003,20210004,20210005
# 电力使用
iot.code.prefix.have.used
=
#是否向iot推送消息
isSendIot
=
false
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