-
Notifications
You must be signed in to change notification settings - Fork 9
/
dc.ams.local.yml
126 lines (116 loc) · 3.88 KB
/
dc.ams.local.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
version: '3.7'
services:
zookeeper:
image: zookeeper:3.5
container_name: zookeeper
restart: always
hostname: zookeeper
ports:
- 2181:2181
environment:
- ZOO_MY_ID=1
- ZOO_SERVERS=server.1=0.0.0.0:2888:3888;2181
- ZOO_4LW_COMMANDS_WHITELIST=*
kafka1:
image: confluentinc/cp-kafka:5.4.1
hostname: kafka1
container_name: kafka1
ports:
- "9091:9091"
environment:
KAFKA_LISTENERS: INTERNAL_PLAINTEXT://kafka1:19091
KAFKA_ADVERTISED_LISTENERS: INTERNAL_PLAINTEXT://kafka1:19091
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: INTERNAL_PLAINTEXT:PLAINTEXT
KAFKA_INTER_BROKER_LISTENER_NAME: INTERNAL_PLAINTEXT
KAFKA_ZOOKEEPER_CONNECT: "zookeeper:2181"
KAFKA_BROKER_ID: 1
KAFKA_LOG4J_LOGGERS: "kafka.controller=INFO,kafka.producer.async.DefaultEventHandler=INFO,state.change.logger=INFO"
depends_on:
- zookeeper
kafka2:
image: confluentinc/cp-kafka:5.4.1
hostname: kafka2
container_name: kafka2
ports:
- "9092:9092"
environment:
KAFKA_LISTENERS: INTERNAL_PLAINTEXT://kafka2:19092
KAFKA_ADVERTISED_LISTENERS: INTERNAL_PLAINTEXT://kafka2:19092
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: INTERNAL_PLAINTEXT:PLAINTEXT
KAFKA_INTER_BROKER_LISTENER_NAME: INTERNAL_PLAINTEXT
KAFKA_ZOOKEEPER_CONNECT: "zookeeper:2181"
KAFKA_BROKER_ID: 2
KAFKA_LOG4J_LOGGERS: "kafka.controller=INFO,kafka.producer.async.DefaultEventHandler=INFO,state.change.logger=INFO"
depends_on:
- zookeeper
kafka3:
image: confluentinc/cp-kafka:5.4.1
hostname: kafka3
container_name: kafka3
ports:
- "9093:9093"
environment:
KAFKA_LISTENERS: INTERNAL_PLAINTEXT://kafka3:19093
KAFKA_ADVERTISED_LISTENERS: INTERNAL_PLAINTEXT://kafka3:19093
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: INTERNAL_PLAINTEXT:PLAINTEXT
KAFKA_INTER_BROKER_LISTENER_NAME: INTERNAL_PLAINTEXT
KAFKA_ZOOKEEPER_CONNECT: "zookeeper:2181"
KAFKA_BROKER_ID: 3
KAFKA_LOG4J_LOGGERS: "kafka.controller=INFO,kafka.producer.async.DefaultEventHandler=INFO,state.change.logger=INFO"
depends_on:
- zookeeper
solr1:
image: solr:8.3
container_name: solr1
ports:
- "8981:8983"
environment:
- ZK_HOST=zookeeper:2181
depends_on:
- zookeeper
solr2:
image: solr:8.3
container_name: solr2
ports:
- "8982:8983"
environment:
- ZK_HOST=zookeeper:2181
depends_on:
- zookeeper
solr3:
image: solr:8.3
container_name: solr3
ports:
- "8983:8983"
environment:
- ZK_HOST=zookeeper:2181
depends_on:
- zookeeper
upload_config:
image: solr:8.3
environment:
- ZK_HOST=zookeeper:2181
depends_on:
- zookeeper
volumes:
- "./apache-ranger/ranger_audits/:/opt/solr-8.3.1/server/solr/configsets/ranger_audits/"
command: bin/solr zk upconfig -n ranger_audits -d ranger_audits
ranger-db:
image: spydernaz/apache-ranger-admin-db:latest
restart: always
environment:
- MYSQL_ROOT_PASSWORD=password
apache-ranger:
image: spydernaz/apache-ranger-admin:experimental
stdin_open: true
tty: true
depends_on:
- "ranger-db"
ports:
- "6080:6080"
atlas:
image: spydernaz/apache-atlas:experimental
container_name: atlas-server
restart: always
ports:
- 21000:21000