-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-dev.yml
160 lines (149 loc) · 4.31 KB
/
docker-compose-dev.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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
version: "3.1"
services:
elastic-search:
image: docker.elastic.co/elasticsearch/elasticsearch:7.7.0
restart: "unless-stopped"
networks:
- entomomachia
environment:
- discovery.type=single-node
ports:
- "9200:9200"
- "9300:9300"
kibana:
image: docker.elastic.co/kibana/kibana:7.7.0
networks:
- entomomachia
environment:
SERVER_NAME: kibana
ELASTICSEARCH_HOSTS: http://elastic-search:9200
ports:
- "5601:5601"
#zoo:
# image: confluentinc/cp-zookeeper:latest
# networks:
# - entomomachia
# restart: unless-stopped
# hostname: zoo
# ports:
# - "2181:2181"
#kafka:
# image: confluentinc/cp-kafka:latest
# networks:
# - entomomachia
# environment:
# - KAFKA_ZOOKEEPER_CONNECT=zoo:2181
# - KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://kafka:9092, LISTENER_LOCALHOST://localhost:29092
# - KAFKA_LISTENER_SECURITY_PROTOCOL_MAP=PLAINTEXT:PLAINTEXT,LISTENER_LOCALHOST:PLAINTEXT
# - KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR=1
# depends_on:
# - zoo
# ports:
# - "9092:9092"
# - "29092:29092"
#TESTING
zookeeper:
image: confluentinc/cp-zookeeper:latest
restart: unless-stopped
environment:
ZOOKEEPER_CLIENT_PORT: 2181
ZOOKEEPER_TICK_TIME: 2000
ports:
- 22181:2181
networks:
- entomomachia
kafka:
image: confluentinc/cp-kafka:latest
restart: unless-stopped
depends_on:
- zookeeper
ports:
- 29092:29092
environment:
KAFKA_BROKER_ID: 1
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092,PLAINTEXT_HOST://localhost:29092
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT
KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
networks:
- entomomachia
kafka-manager:
image: sheepkiller/kafka-manager:latest
environment:
ZK_HOSTS: "zookeeper:2181"
ports:
- "9000:9000"
networks:
- entomomachia
general-classifier:
build: mining/generalframework
networks:
- entomomachia
environment:
- DOCKER_RUNNING=true
volumes:
- ./mining/data:/opt/data/
- ./logs:/opt/logs/
- ./mining/generalframework:/opt/generalframework
access-control:
build: backend/accessControl
networks:
- entomomachia
environment:
- DOCKER_RUNNING=true
volumes:
- ./logs:/opt/logs/
- ./backend/accessControl:/opt/accessControl
kafkacat:
image: confluentinc/cp-kafkacat:5.0.0
stdin_open: true
tty: true
networks:
- entomomachia
mongo:
image: mongo
restart: unless-stopped
ports:
- 2701:2701
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: access
mongo-express:
image: mongo-express
restart: unless-stopped
ports:
- 8081:8081
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: access
elastic-facade-server:
build: backend/elasticInterface/server
networks:
- entomomachia
environment:
- DOCKER_RUNNING=true
volumes:
- ./logs:/opt/logs/
- ./backend/elasticInterface/server:/opt/server
ports:
- 1099:1099
elatic-facade-client:
build: backend/elasticInterface/clienttest
networks:
- entomomachia
environment:
- DOCKER_RUNNING=true
volumes:
- ./logs:/opt/logs/
- ./backend/elasticInterface/clienttest:/opt/client
networks:
entomomachia:
external: false
#TESTING
#networks:
# bridge:
# driver: bridge
#TESTING
volumes:
permanentdata: