Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
docker-iot-v3
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
deploy
docker-iot-v3
Commits
1977cbe4
Commit
1977cbe4
authored
Sep 22, 2022
by
chonghaohao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
d05e10ce
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
docker-compose.iot-business.yml
docker-compose.iot-business.yml
+4
-4
haproxy.cfg
haproxy/config/haproxy.cfg
+3
-3
No files found.
docker-compose.iot-business.yml
View file @
1977cbe4
...
...
@@ -7,14 +7,14 @@ services:
ports
:
-
"
8080"
environment
:
-
PARAMS="--spring.datasource.url=jdbc:mysql://1
92.168.201.2
:3306/iot_job?Unicode=true&characterEncoding=UTF-8&useSSL=false --spring.datasource.username=root --spring.datasource.password=huansi@V3"
-
PARAMS="--spring.datasource.url=jdbc:mysql://1
0.10.39.251
:3306/iot_job?Unicode=true&characterEncoding=UTF-8&useSSL=false --spring.datasource.username=root --spring.datasource.password=huansi@V3"
iot-dbapi
:
image
:
registry.cn-hangzhou.aliyuncs.com/hsyl_iot/db-api:v3
ports
:
-
"
8520"
environment
:
-
DB_URL=jdbc:mysql://1
92.168.201.2
:3306/iot_dbapi?useSSL=false&characterEncoding=UTF-8&serverTimezone=GMT%2B8
-
DB_URL=jdbc:mysql://1
0.10.39.251:3306
:3306/iot_dbapi?useSSL=false&characterEncoding=UTF-8&serverTimezone=GMT%2B8
-
DB_USERNAME=root
-
DB_PASSWORD=huansi@V3
-
DB_DRIVER=com.mysql.cj.jdbc.Driver
...
...
@@ -30,7 +30,7 @@ services:
environment
:
-
KAFKA_K2_ENABLED=true
-
KAFKA_K2_TOPIC_PRE=iot-v3
-
KAFKA_K2_BOOTSTRAP_SERVERS=1
92.168.201.2
:9092
-
KAFKA_K2_BOOTSTRAP_SERVERS=1
0.10.39.251
:9092
-
HS_TIME_TASK_LOCAL=true
-
SERVER_JWT_LOGIN_URL=http://1
92.168.201.3
-
SERVER_JWT_LOGIN_URL=http://1
0.10.39.251
\ No newline at end of file
haproxy/config/haproxy.cfg
View file @
1977cbe4
...
...
@@ -130,16 +130,16 @@ backend iot-inteface-backend
balance leastconn
option tcp-check
option log-health-checks
server iot-inteface
10.10.39.251
:8080 check inter 5s resolvers docker_resolver resolve-prefer ipv4
server iot-inteface
iot-inteface
:8080 check inter 5s resolvers docker_resolver resolve-prefer ipv4
backend dbapi-backend
balance leastconn
option tcp-check
option log-health-checks
server dbapi
10.10.39.251
:8520 check inter 5s resolvers docker_resolver resolve-prefer ipv4
server dbapi
iot-dbapi
:8520 check inter 5s resolvers docker_resolver resolve-prefer ipv4
backend job-backend
balance leastconn
option tcp-check
option log-health-checks
server job
10.10.39.251:8082
check inter 5s resolvers docker_resolver resolve-prefer ipv4
server job
iot-job:8080
check inter 5s resolvers docker_resolver resolve-prefer ipv4
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