forked from edsenabr/statement-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
61 lines (54 loc) · 1.25 KB
/
docker-compose.yaml
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
version: "3.3"
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:
statement:
ipv4_address: 240.12.0.2
elasticsearch:
image: elasticsearch:7.10.1
restart: unless-stopped
environment:
- discovery.type=single-node
networks:
statement:
ipv4_address: 240.12.0.3
# grafana:
# image: grafana/grafana
# restart: unless-stopped
# networks:
# statement:
# ipv4_address: 240.12.0.4
# prometheus:
# image: prom/prometheus
# restart: unless-stopped
# command: --config.file=/etc/prometheus/prometheus.yml
# volumes:
# - ${PWD}/prometheus.yml:/etc/prometheus/prometheus.yml
# networks:
# statement:
# ipv4_address: 240.12.0.5
kibana:
image: kibana:7.10.1
ports:
- 5601:5601
environment:
ELASTICSEARCH_URL: http://240.12.0.3:9200
ELASTICSEARCH_HOSTS: http://240.12.0.3:9200
depends_on:
- "elasticsearch"
networks:
statement:
ipv4_address: 240.12.0.6
networks:
statement:
driver: bridge
ipam:
config:
- subnet: 240.12.0.0/29