-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathdocker-compose.yml
63 lines (58 loc) · 1.96 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
version: "3"
services:
zookeeper:
image: docker.io/bitnami/zookeeper:3.8
ports:
- "2181:2181"
environment:
- ALLOW_ANONYMOUS_LOGIN=yes
kafka:
image: docker.io/bitnami/kafka:3.2
links:
- "zookeeper"
ports:
- "9092:9092"
environment:
- KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP=CLIENT:PLAINTEXT,EXTERNAL:PLAINTEXT
- KAFKA_CFG_LISTENERS=CLIENT://:9092
- KAFKA_CFG_ADVERTISED_LISTENERS=CLIENT://kafka:9092
- KAFKA_CFG_INTER_BROKER_LISTENER_NAME=CLIENT
- KAFKA_CFG_ZOOKEEPER_CONNECT=zookeeper:2181
- ALLOW_PLAINTEXT_LISTENER=yes
kafka-ui:
image: provectuslabs/kafka-ui
links:
- "zookeeper"
- "kafka"
ports:
- "7080:8080"
environment:
- KAFKA_CLUSTERS_0_NAME=local
- KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS=CLIENT://kafka:9092
- KAFKA_CLUSTERS_0_ZOOKEEPER=zookeeper:2181
internalproxy:
build: .
container_name: internalproxy
links:
- "kafka"
environment:
KAFKA.KAFKA_HOSTS: "kafka:9092"
FRANZ.KAFKA_HOSTS: "kafka:9092"
PROXY.WEB_SOCKET_SERVER_HOST: "internalproxy"
PROXY.ENABLE_PLUGIN_MANAGER: "false"
DEBUG: "kafka"
ports:
- "3000:3000"
externalproxy:
build: .
container_name: externalproxy
environment:
KAFKA.KAFKA_HOSTS: "kafka:9092"
FRANZ.KAFKA_HOSTS: "kafka:9092"
PLUGIN_MANAGER.AUTH_SERVICE_ENDPOINT: "http://192.168.160.107:8090/dh/rest"
PLUGIN_MANAGER.PLUGIN_MANAGEMENT_SERVICE_ENDPOINT: "http://192.168.160.107:8110/dh/rest"
PROXY.WEB_SOCKET_SERVER_HOST: "externalproxy"
PROXY.ENABLE_PLUGIN_MANAGER: "true"
DEBUG: "kafka,pluginmanager"
ports:
- "3001:3001"