-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
39 lines (38 loc) · 1.32 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
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.12.2
container_name: elasticsearch-provenance
restart: unless-stopped
environment:
- discovery.type=single-node
- http.port=9200
- http.cors.enabled=true
- http.cors.allow-origin=http://localhost:3000,https://dataflow-dashboard.stellio.io
- http.cors.allow-methods=OPTIONS,POST
- http.cors.allow-headers=X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization,X-Grafana-Action,X-Grafana-Device-Id
- http.cors.allow-credentials=true
- bootstrap.memory_lock=true
- xpack.security.enabled=false
- 'ES_JAVA_OPTS=-Xms512m -Xmx512m'
ports:
- '9201:9200'
- '9300:9300'
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- elasticsearch-storage:/usr/share/elasticsearch/data
grafana:
image: grafana/grafana:11.3.0
container_name: grafana-provenance
restart: unless-stopped
ports:
- 3002:3000
depends_on:
- elasticsearch
volumes:
- grafana-storage:/var/lib/grafana
volumes:
grafana-storage:
elasticsearch-storage: