Commit 85dd49fe authored by chonghaohao's avatar chonghaohao

fix

parent fbcbea0b
version: '3.9'
services:
zookeeper:
image: debezium/zookeeper:1.9.5.Final
ports:
- "2181:2181"
- "2888:2888"
- "3888:3888"
restart: always
kafka:
image: debezium/kafka:1.9.5.Final
restart: always
ports:
- "9092:9092"
- "29092:29092"
depends_on:
- zookeeper
environment:
- ZOOKEEPER_CONNECT=zookeeper:2181
- KAFKA_ADVERTISED_LISTENERS=LISTENER_EXT://localhost:29092,LISTENER_INT://kafka:9092
- KAFKA_LISTENER_SECURITY_PROTOCOL_MAP=LISTENER_INT:PLAINTEXT,LISTENER_EXT:PLAINTEXT
- KAFKA_LISTENERS=LISTENER_INT://0.0.0.0:9092,LISTENER_EXT://0.0.0.0:29092
- KAFKA_INTER_BROKER_LISTENER_NAME=LISTENER_INT
connect:
image: debezium/connect:1.9.5.Final
restart: always
ports:
- "8083:8083"
environment:
- BOOTSTRAP_SERVERS=kafka:9092
- GROUP_ID=1
- CONFIG_STORAGE_TOPIC=my_connect_configs
- OFFSET_STORAGE_TOPIC=my_connect_offsets
- STATUS_STORAGE_TOPIC=my_connect_statuses
depends_on:
- zookeeper
- kafka
\ No newline at end of file
version: '3.9'
services:
iot-job:
image: registry.cn-hangzhou.aliyuncs.com/hsyl_iot/xxl-job:v3
restart: always
ports:
- "8080"
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"
iot-dbapi:
image: registry.cn-hangzhou.aliyuncs.com/hsyl_iot/db-api:v3
ports:
- "8520"
environment:
- DB_URL=jdbc:mysql://192.168.201.2: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
restart: always
iot-interface:
image: registry.cn-hangzhou.aliyuncs.com/hsyl_iot/interface-service:v3
restart: always
ports:
- "8080"
env_file:
- tb-node.hybrid.env
environment:
- KAFKA_K2_ENABLED=true
- KAFKA_K2_TOPIC_PRE=iot-v3
- KAFKA_K2_BOOTSTRAP_SERVERS=192.168.201.2:9092
- HS_TIME_TASK_LOCAL=true
- SERVER_JWT_LOGIN_URL=http://192.168.201.3
\ No newline at end of file
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