generated from EzzioMoreira/template-modulo-terraform
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
100 lines (93 loc) · 2.23 KB
/
docker-compose.yaml
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
version: '3.8'
services:
otel-collector:
image: otel/opentelemetry-collector-contrib:0.89.0
command: [ "--config=/etc/otel-collector.yaml" ]
privileged: true
user: 0:0
volumes:
- ./otel-collector.yaml:/etc/otel-collector.yaml
- /var/run/docker.sock:/var/run/docker.sock:ro
- /var/lib/docker/containers/:/etc/log/
ports:
- '4317:4317'
- '8888:8888'
- '24224:24224'
- '55679:55679'
depends_on:
- tempo
k6-tracing:
image: ghcr.io/grafana/xk6-client-tracing:v0.0.2
environment:
- ENDPOINT=otel-collector:4317
restart: always
depends_on:
- otel-collector
- tempo
- loki
- minio
- grafana
grafana:
image: grafana/grafana
container_name: grafana
restart: unless-stopped
environment:
- GF_SECURITY_ADMIN_PASSWORD=admin
- GF_SECURITY_ADMIN_USER=admin
- GF_AUTH_DISABLE_LOGIN_FORM=true
ports:
- '3000:3000'
volumes:
- grafana-storage:/var/lib/grafana
tempo:
image: grafana/tempo:latest
command: [ "-config.file=/etc/tempo.yaml" ]
volumes:
- ./tempo-data:/tmp/tempo
- ./shared/tempo.yaml:/etc/tempo.yaml
ports:
- "3200:3200" # tempo
depends_on:
- grafana
mimir:
image: grafana/mimir:latest
command: [ "-config.file=/etc/mimir.yaml" ]
volumes:
- ./shared/mimir.yaml:/etc/mimir.yaml
- ./mimir-data:/data
ports:
- "9009:9009" # mimir
depends_on:
- grafana
- minio
loki:
image: grafana/loki:2.9.2
command: [ "-config.file=/etc/loki/loki.yaml" ]
volumes:
- ./shared/loki.yaml:/etc/loki/loki.yaml
- ./loki-data:/data
ports:
- "3100:3100" # loki
- '7946:7946' # loki-gossip
depends_on:
- grafana
minio:
image: minio/minio
entrypoint:
- sh
- -euc
- |
mkdir -p /data/loki-data && \
mkdir -p /data/loki-ruler && \
minio server /data
environment:
- MINIO_ROOT_USER=loki
- MINIO_ROOT_PASSWORD=supersecret
- MINIO_PROMETHEUS_AUTH_TYPE=public
- MINIO_UPDATE=off
ports:
- 9000
volumes:
- ./.data/minio:/data
volumes:
grafana-storage: {}