-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
68 lines (65 loc) · 1.45 KB
/
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
version: "3"
services:
broker:
image: vromero/activemq-artemis:2.11.0-alpine
environment:
- ARTEMIS_USERNAME=quarkus
- ARTEMIS_PASSWORD=quarkus
- ENABLE_JMX_EXPORTER=true
ports:
- "8161:8161"
- "61616:61616"
- "5672:5672"
- "9404:9404" #prometheus exporter
networks:
- biwi-net
scheduleddb:
image: postgres
environment:
- POSTGRES_PASSWORD=pass
- POSTGRES_USER=scheduled
- POSTGRES_DB=scheduleddb
ports:
- "5434:5432"
networks:
- biwi-net
elastic:
image: docker.elastic.co/elasticsearch/elasticsearch:7.8.0
environment:
- node.name=es01
- cluster.name=es-biwi
- cluster.initial_master_nodes=es01
volumes:
- eldata:/usr/share/elasticsearch/data
ports:
- "9200:9200"
networks:
- biwi-net
kibana:
image: docker.elastic.co/kibana/kibana:7.8.0
environment:
- ELASTICSEARCH_HOSTS=http://elastic:9200
- SERVER_NAME=biwi-kibana
ports:
- "5601:5601"
networks:
- biwi-net
healthcheck:
test: [ "CMD", "nc", "-z", "localhost", "5601" ]
interval: 5s
timeout: 15s
retries: 1
metricbeat:
image: docker.elastic.co/beats/metricbeat:7.8.0
volumes:
- ./metricbeat.yml:/usr/share/metricbeat/metricbeat.yml
networks:
- biwi-net
depends_on:
- broker
- kibana
networks:
biwi-net:
driver: bridge
volumes:
eldata: