Commit 1977cbe4 authored by chonghaohao's avatar chonghaohao

fix

parent d05e10ce
...@@ -7,14 +7,14 @@ services: ...@@ -7,14 +7,14 @@ services:
ports: ports:
- "8080" - "8080"
environment: environment:
- PARAMS="--spring.datasource.url=jdbc:mysql://192.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://10.10.39.251:3306/iot_job?Unicode=true&characterEncoding=UTF-8&useSSL=false --spring.datasource.username=root --spring.datasource.password=huansi@V3"
iot-dbapi: iot-dbapi:
image: registry.cn-hangzhou.aliyuncs.com/hsyl_iot/db-api:v3 image: registry.cn-hangzhou.aliyuncs.com/hsyl_iot/db-api:v3
ports: ports:
- "8520" - "8520"
environment: environment:
- DB_URL=jdbc:mysql://192.168.201.2:3306/iot_dbapi?useSSL=false&characterEncoding=UTF-8&serverTimezone=GMT%2B8 - DB_URL=jdbc:mysql://10.10.39.251:3306:3306/iot_dbapi?useSSL=false&characterEncoding=UTF-8&serverTimezone=GMT%2B8
- DB_USERNAME=root - DB_USERNAME=root
- DB_PASSWORD=huansi@V3 - DB_PASSWORD=huansi@V3
- DB_DRIVER=com.mysql.cj.jdbc.Driver - DB_DRIVER=com.mysql.cj.jdbc.Driver
...@@ -30,7 +30,7 @@ services: ...@@ -30,7 +30,7 @@ services:
environment: environment:
- KAFKA_K2_ENABLED=true - KAFKA_K2_ENABLED=true
- KAFKA_K2_TOPIC_PRE=iot-v3 - KAFKA_K2_TOPIC_PRE=iot-v3
- KAFKA_K2_BOOTSTRAP_SERVERS=192.168.201.2:9092 - KAFKA_K2_BOOTSTRAP_SERVERS=10.10.39.251:9092
- HS_TIME_TASK_LOCAL=true - HS_TIME_TASK_LOCAL=true
- SERVER_JWT_LOGIN_URL=http://192.168.201.3 - SERVER_JWT_LOGIN_URL=http://10.10.39.251
\ No newline at end of file
...@@ -130,16 +130,16 @@ backend iot-inteface-backend ...@@ -130,16 +130,16 @@ backend iot-inteface-backend
balance leastconn balance leastconn
option tcp-check option tcp-check
option log-health-checks 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 backend dbapi-backend
balance leastconn balance leastconn
option tcp-check option tcp-check
option log-health-checks 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 backend job-backend
balance leastconn balance leastconn
option tcp-check option tcp-check
option log-health-checks 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
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