-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
44 lines (44 loc) · 973 Bytes
/
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
version: '2'
services:
zookeeper:
image: wurstmeister/zookeeper
ports:
- "2181:2181"
kafka:
image: wurstmeister/kafka
ports:
- "9092:9092"
environment:
KAFKA_ADVERTISED_HOST_NAME: ${HOSTNAME}
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
volumes:
- /var/run/docker.sock:/var/run/docker.sock
nifi:
image: mkobit/nifi
ports:
- 8080:8080
- 8081:8081
volumes:
- ./scripts:/scripts
# debugging nifi out
# use this as follows
# - add processsor "PutTCP"
# - Hostname: debug
# - Port: 80
# - connect something that produces text to it
# - check the logs of it: docker-compose logs -f debug
debug:
image: appropriate/nc
command: nc -l 80
elasticsearch:
image: elasticsearch
ports:
- '9200:9200'
kibana:
image: kibana
ports:
- '5601:5601'
postgres:
image: postgres
volumes:
- ./postgres_init/:/docker-entrypoint-initdb.d/