-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
42 lines (38 loc) · 884 Bytes
/
docker-compose.yaml
File metadata and controls
42 lines (38 loc) · 884 Bytes
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
version: "3.8"
services:
kafka:
image: lensesio/fast-data-dev
restart: unless-stopped
environment:
- ADV_HOST=240.12.0.2
- RUNNING_SAMPLEDATA=0
- RUNTESTS=0
- CONNECT_PORT=0
networks:
kafka:
ipv4_address: 240.12.0.2
elasticsearch:
image: elasticsearch:7.7.1
network_mode: "service:kafka"
restart: unless-stopped
environment:
- discovery.type=single-node
grafana:
image: grafana/grafana
network_mode: "service:kafka"
restart: unless-stopped
prometheus:
image: prom/prometheus
network_mode: "service:kafka"
restart: unless-stopped
command: --config.file=/etc/prometheus/prometheus.yml
volumes:
- ${PWD}/prometheus.yml:/etc/prometheus/prometheus.yml
networks:
public:
external: true
kafka:
driver: bridge
ipam:
config:
- subnet: 240.12.0.0/24