-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
83 lines (76 loc) · 2.02 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
version: '3.4'
services:
minio:
image: minio/minio
entrypoint: [""]
command: ["sh", "-c", "mkdir -p /data/phlare && minio server --quiet /data --console-address=:9002"]
environment:
- MINIO_ROOT_USER=phlare
- MINIO_ROOT_PASSWORD=supersecret
volumes:
- minio-data:/data
ports:
- 9002:9002
grafana:
image: grafana/grafana:main
environment:
- GF_FEATURE_TOGGLES_ENABLE=flameGraph
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
volumes:
- ./config/grafana-provisioning-dashboards.yaml:/etc/grafana/provisioning/dashboards/provisioning-dashboards.yaml:ro
- ./config/grafana-provisioning-datasources.yaml:/etc/grafana/provisioning/datasources/provisioning-datasources.yaml:ro
ports:
- 3000:3000
load-balancer:
image: nginx:latest
volumes:
- ./config/nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- "phlare-1"
- "phlare-2"
- "phlare-3"
ports:
- 4100:4100
phlare-1:
image: grafana/phlare:0.1.0
command: ["-config.file=/etc/phlare/config.yaml"]
depends_on:
- minio
volumes:
- ./config/phlare.yaml:/etc/phlare/config.yaml
- phlare-1-data:/data
ports:
- 4101:4100
phlare-2:
image: grafana/phlare:0.1.0
command: ["-config.file=/etc/phlare/config.yaml"]
depends_on:
- minio
volumes:
- ./config/phlare.yaml:/etc/phlare/config.yaml
- phlare-2-data:/data
ports:
- 4102:4100
phlare-3:
image: grafana/phlare:0.1.0
command: ["-config.file=/etc/phlare/config.yaml"]
depends_on:
- minio
volumes:
- ./config/phlare.yaml:/etc/phlare/config.yaml
- phlare-3-data:/data
ports:
- 4103:4100
agent:
image: grafana/phlare:0.1.0
command: ["-config.file=/etc/phlare/agent.yaml", "-log.level=debug"]
depends_on:
- minio
volumes:
- ./config/agent.yaml:/etc/phlare/agent.yaml
volumes:
phlare-1-data:
phlare-2-data:
phlare-3-data:
minio-data: