-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
54 lines (50 loc) · 1.56 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
services:
pillarbox-event-dispatcher:
build: ./pillarbox-event-dispatcher
image: srgssr/pillarbox-event-dispatcher:1.0.0
container_name: pillarbox-event-dispatcher
ports:
- "8080:8080"
pillarbox-monitoring-transfer:
build: ./pillarbox-monitoring-transfer
image: srgssr/pillarbox-monitoring-transfer:1.0.0
container_name: pillarbox-monitoring-transfer
ports:
- "8081:8081"
environment:
- PILLARBOX_MONITORING_OPENSEARCH_URI=http://opensearch:9200
- PILLARBOX_MONITORING_DISPATCH_URI=http://pillarbox-event-dispatcher:8080/events
opensearch:
image: opensearchproject/opensearch:2.17.0
container_name: opensearch
ports:
- '9200:9200'
- '9300:9300'
environment:
- discovery.type=single-node
- bootstrap.memory_lock=true
- OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m
- DISABLE_SECURITY_PLUGIN=true
- cluster.routing.allocation.disk.threshold_enabled=false
deploy:
resources:
limits:
memory: 1g
reservations:
memory: 512m
opensearch-dashboards:
image: opensearchproject/opensearch-dashboards:2.17.0
container_name: opensearch-dashboards
ports:
- '5601:5601'
environment:
- OPENSEARCH_HOSTS=http://opensearch:9200
- DISABLE_SECURITY_DASHBOARDS_PLUGIN=true
depends_on:
- opensearch
pillarbox-monitoring-grafana:
build: ./pillarbox-monitoring-grafana
image: srgssr/pillarbox-monitoring-grafana:1.0.0
container_name: pillarbox-monitoring-grafana
ports:
- '3000:3000'