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
83972e18
Commit
83972e18
authored
Sep 23, 2022
by
chonghaohao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
e33cb12e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
9 deletions
+31
-9
docker-compose-debezium.yml
docker-compose-debezium.yml
+13
-9
docker-compose.kafka.yml
docker-compose.kafka.yml
+9
-0
docker-compose.yml
docker-compose.yml
+9
-0
No files found.
docker-compose-debezium.yml
View file @
83972e18
...
@@ -2,7 +2,7 @@ version: '3.9'
...
@@ -2,7 +2,7 @@ version: '3.9'
services
:
services
:
zookeeper
:
zookeeper
-sync
:
image
:
47.110.145.204:8084/huansiyl/debezium/zookeeper:1.9.5.Final
image
:
47.110.145.204:8084/huansiyl/debezium/zookeeper:1.9.5.Final
ports
:
ports
:
-
"
2181:2181"
-
"
2181:2181"
...
@@ -10,20 +10,24 @@ services:
...
@@ -10,20 +10,24 @@ services:
-
"
3888:3888"
-
"
3888:3888"
restart
:
always
restart
:
always
kafka
:
kafka
-sync
:
image
:
47.110.145.204:8084/huansiyl/debezium/kafka:1.9.5.Final
image
:
47.110.145.204:8084/huansiyl/debezium/kafka:1.9.5.Final
restart
:
always
restart
:
always
ports
:
ports
:
-
"
9092
:9092
"
-
"
9092"
-
"
29092:29092"
-
"
29092:29092"
depends_on
:
depends_on
:
-
zookeeper
-
zookeeper
-sync
environment
:
environment
:
-
ZOOKEEPER_CONNECT=zookeeper:2181
-
ZOOKEEPER_CONNECT=zookeeper
-sync
:2181
-
KAFKA_ADVERTISED_LISTENERS=LISTENER_EXT://localhost:29092,LISTENER_INT://kafka:9092
-
KAFKA_ADVERTISED_LISTENERS=LISTENER_EXT://localhost:29092,LISTENER_INT://kafka
-sync
:9092
-
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP=LISTENER_INT:PLAINTEXT,LISTENER_EXT:PLAINTEXT
-
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_LISTENERS=LISTENER_INT://0.0.0.0:9092,LISTENER_EXT://0.0.0.0:29092
-
KAFKA_INTER_BROKER_LISTENER_NAME=LISTENER_INT
-
KAFKA_INTER_BROKER_LISTENER_NAME=LISTENER_INT
-
KAFKA_LOG_RETENTION_BYTES=1073741824
-
KAFKA_LOG_SEGMENT_BYTES=268435456
-
KAFKA_LOG_RETENTION_MS=300000
-
KAFKA_LOG_CLEANUP_POLICY=delete
connect
:
connect
:
image
:
47.110.145.204:8084/huansiyl/debezium/connect:1.9.5.Final
image
:
47.110.145.204:8084/huansiyl/debezium/connect:1.9.5.Final
...
@@ -31,11 +35,11 @@ services:
...
@@ -31,11 +35,11 @@ services:
ports
:
ports
:
-
"
8083:8083"
-
"
8083:8083"
environment
:
environment
:
-
BOOTSTRAP_SERVERS=kafka:9092
-
BOOTSTRAP_SERVERS=kafka
-sync
:9092
-
GROUP_ID=1
-
GROUP_ID=1
-
CONFIG_STORAGE_TOPIC=my_connect_configs
-
CONFIG_STORAGE_TOPIC=my_connect_configs
-
OFFSET_STORAGE_TOPIC=my_connect_offsets
-
OFFSET_STORAGE_TOPIC=my_connect_offsets
-
STATUS_STORAGE_TOPIC=my_connect_statuses
-
STATUS_STORAGE_TOPIC=my_connect_statuses
depends_on
:
depends_on
:
-
zookeeper
-
zookeeper-sync
-
kafka
-
kafka-sync
\ No newline at end of file
\ No newline at end of file
docker-compose.kafka.yml
View file @
83972e18
...
@@ -17,6 +17,15 @@
...
@@ -17,6 +17,15 @@
version
:
'
2.2'
version
:
'
2.2'
services
:
services
:
kafka
:
restart
:
always
image
:
"
bitnami/kafka:3.2.0"
ports
:
-
"
9092:9092"
env_file
:
-
kafka.env
depends_on
:
-
zookeeper
tb-js-executor
:
tb-js-executor
:
env_file
:
env_file
:
-
queue-kafka.env
-
queue-kafka.env
...
...
docker-compose.yml
View file @
83972e18
...
@@ -18,6 +18,15 @@
...
@@ -18,6 +18,15 @@
version
:
'
2.2'
version
:
'
2.2'
services
:
services
:
zookeeper
:
restart
:
always
image
:
"
zookeeper:3.8.0"
ports
:
-
"
2181"
environment
:
ZOO_MY_ID
:
1
ZOO_SERVERS
:
server.1=zookeeper:2888:3888;zookeeper:2181
ZOO_ADMINSERVER_ENABLED
:
"
false"
tb-js-executor
:
tb-js-executor
:
restart
:
always
restart
:
always
image
:
"
${DOCKER_REPO}/${JS_EXECUTOR_DOCKER_NAME}:${TB_VERSION}"
image
:
"
${DOCKER_REPO}/${JS_EXECUTOR_DOCKER_NAME}:${TB_VERSION}"
...
...
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