-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-compose.yml
73 lines (73 loc) · 2.1 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
64
65
66
67
68
69
70
71
72
73
version: "3"
services:
zookeeper:
image: zookeeper:3.8.0
hostname: zookeeper
container_name: zookeeper-geospatial
ports:
- "2181:2181"
environment:
ZOOKEEPER_CLIENT_PORT: 2181
ZOOKEEPER_TICK_TIME: 2000
networks:
- geospatial
kafka:
image: wurstmeister/kafka:latest
restart: unless-stopped
container_name: "kafka-geospatial"
ports:
- "9092:9092"
expose:
- "9093"
depends_on:
- zookeeper
environment:
KAFKA_ZOOKEEPER_CONNECT: zookeeper-geospatial:2181/kafka
KAFKA_BROKER_ID: 0
KAFKA_ADVERTISED_HOST_NAME: kafka-geospatial
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka-geospatial:9093,OUTSIDE://localhost:9092
KAFKA_LISTENERS: PLAINTEXT://0.0.0.0:9093,OUTSIDE://0.0.0.0:9092
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,OUTSIDE:PLAINTEXT
networks:
- geospatial
pinot-controller:
image: apachepinot/pinot:1.0.0
command: "StartController -zkAddress zookeeper-geospatial:2181"
container_name: "pinot-controller-geospatial"
restart: unless-stopped
ports:
- "9000:9000"
# - "5005:5005"
# environment:
# JAVA_OPTS: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005"
networks:
- geospatial
pinot-broker:
image: apachepinot/pinot:1.0.0
command: "StartBroker -zkAddress zookeeper-geospatial:2181"
container_name: "pinot-broker-geospatial"
restart: unless-stopped
ports:
- "8099:8099"
# - "5005:5005"
# environment:
# JAVA_OPTS: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005"
networks:
- geospatial
pinot-server:
image: apachepinot/pinot:1.0.0
command: "StartServer -zkAddress zookeeper-geospatial:2181"
container_name: "pinot-server-geospatial"
ports:
- "5005:5005"
- "8097:8097"
environment:
JAVA_OPTS: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005"
expose:
- "8097"
restart: unless-stopped
networks:
- geospatial
networks:
geospatial:
name: geospatial