-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
62 lines (59 loc) · 1.4 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
version: '3.4'
networks:
stats_network:
driver: bridge
services:
usage_stats_handler:
container_name: usage_stats_handler
build: .
ports:
- "3542:3542"
environment:
- ELASTIC_BASE_URL=http://elasticsearch:9200
restart: on-failure
depends_on:
- elasticsearch
networks:
stats_network:
elasticsearch:
container_name: elasticsearch
image: 'docker.elastic.co/elasticsearch/elasticsearch:7.13.3'
ports:
- "9200:9200"
environment:
- xpack.security.enabled=false
- xpack.security.http.ssl.enabled=false
- xpack.security.transport.ssl.enabled=false
- bootstrap.system_call_filter=false
- discovery.type=single-node
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
cap_add:
- IPC_LOCK
volumes:
- elasticsearch-data:/usr/share/elasticsearch/data
restart: on-failure
networks:
stats_network:
grafana:
container_name: grafana
image: 'grafana/grafana:8.5.3'
volumes:
- ./grafana/grafana.ini:/etc/grafana/grafana.ini:ro
- ./grafana/provisioning:/etc/grafana/provisioning:ro
- ./grafana/dashboards:/etc/grafana/dashboards:ro
ports:
- "3001:3000"
depends_on:
- elasticsearch
restart: on-failure
networks:
stats_network:
volumes:
elasticsearch-data:
driver: local