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
f3c38022
Commit
f3c38022
authored
Jul 31, 2023
by
tianyiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
accessapi配置文件修改
parent
e341ad2e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
14 deletions
+21
-14
application-dev.properties
...a-accessapi/src/main/resources/application-dev.properties
+21
-14
No files found.
amos-boot-data/amos-boot-data-accessapi/src/main/resources/application-dev.properties
View file @
f3c38022
...
...
@@ -2,11 +2,11 @@ spring.application.name=AMOS-API-ACCESSAPI
server.servlet.context-path
=
/accessapi
server.port
=
11005
# jdbc_config
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc
.Driver
spring.datasource.url
=
jdbc:
mysql://172.16.10.220:3306/amos_openapi?allowMultiQueries=true&serverTimezone=GMT%2B8
\
&characterEncoding=utf8
spring.datasource.username
=
root
spring.datasource.password
=
Yeejoin@202
0
spring.datasource.driver-class-name
=
org.postgresql
.Driver
spring.datasource.url
=
jdbc:
postgresql://36.46.137.116:5432/tzs_amos_tzs_biz_init?currentSchema=amos_data_accessapi&allowMultiQueries=true
#spring.datasource.url=jdbc:vastbase://36.46.151.113:5432/tzs_amos_tzs_biz_init?currentSchema=amos_tzs_biz
spring.datasource.username
=
admin
spring.datasource.password
=
Yeejoin@202
3
spring.datasource.type
=
com.zaxxer.hikari.HikariDataSource
spring.datasource.hikari.minimum-idle
=
5
spring.datasource.hikari.maximum-pool-size
=
15
...
...
@@ -19,17 +19,16 @@ spring.datasource.hikari.connection-test-query=SELECT 1
# REDIS (RedisProperties)
spring.redis.database
=
1
spring.redis.host
=
172.16.10.2
2
0
spring.redis.port
=
6379
spring.redis.host
=
172.16.10.2
3
0
spring.redis.port
=
1
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
#注册中心地址
eureka.client.service-url.defaultZone
=
http://172.16.10.2
2
0:10001/eureka/
eureka.client.service-url.defaultZone
=
http://172.16.10.2
3
0:10001/eureka/
eureka.instance.prefer-ip-address
=
true
management.endpoint.health.show-details
=
always
management.endpoints.web.exposure.include
=
*
...
...
@@ -43,9 +42,9 @@ eureka.instance.instance-id=${eureka.instance.ip-address}:${server.port}
##emqx
emqx.clean-session
=
true
emqx.client-id
=
${spring.application.name}-${random.int[1024,65536]}
emqx.broker
=
tcp://172.16.10.2
20:1
883
emqx.client-user-name
=
admin
emqx.client-password
=
public
emqx.broker
=
tcp://172.16.10.2
30:2
883
emqx.client-user-name
=
super
emqx.client-password
=
123456
##biz custem properties
biz.lxyd.lift.url
=
http://39.106.181.149:8088/elevatorapi
...
...
@@ -59,4 +58,13 @@ spring.influx.database=station_platform
spring.influx.retention_policy
=
default
spring.influx.retention_policy_time
=
30d
spring.influx.actions
=
10000
spring.influx.bufferLimit
=
20000
\ No newline at end of file
spring.influx.bufferLimit
=
20000
spring.redis.mode
=
cluster
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
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