-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
69 lines (60 loc) · 1.98 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
name: apt102
services:
apartment102:
build:
context: .
dockerfile: Dockerfile
environment:
- ALLOY_OTLP_HOST=http://alloy
ports:
- "8080:8080"
volumes:
- ./logs:/app/logs/
# Grafana Alloy batches and processes traces sent to it, generating
# auto-logs from those traces.
# Includes Metrics, Logs, Traces and Profiles.
alloy:
image: grafana/alloy:latest
ports:
- "12345:12345"
- "4318:4318"
volumes:
- ./config/observability/alloy/alloy-config.alloy:/etc/alloy/config.alloy
- ./config/observability/alloy/endpoints.json:/etc/alloy/endpoints.json
- ./logs:/tmp/app-logs/
command: run --server.http.listen-addr=0.0.0.0:12345 --storage.path=/var/lib/alloy/data /etc/alloy/config.alloy
loki:
image: grafana/loki:main
ports:
- "3100:3100"
volumes:
- ./config/observability/loki-config.yaml:/etc/loki/local-config.yaml
command: -config.file=/etc/loki/local-config.yaml
grafana:
image: grafana/grafana:latest
environment:
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_BASIC_ENABLED=false
- GF_FEATURE_TOGGLES_ENABLE=accessControlOnCall
- GF_INSTALL_PLUGINS=https://storage.googleapis.com/integration-artifacts/grafana-lokiexplore-app/grafana-lokiexplore-app-latest.zip;grafana-lokiexplore-app
ports:
- "3000:3000/tcp"
volumes:
- ./grafana/definitions:/var/lib/grafana/dashboards
- ./config/observability/grafana:/etc/grafana/provisioning
tempo:
image: grafana/tempo:latest
ports:
- "3200:3200"
- "4317:4317"
command: [ "-config.file=/etc/tempo.yaml" ]
volumes:
- "./config/observability/tempo.yaml:/etc/tempo.yaml"
mimir:
image: grafana/mimir:latest
command: ["-ingester.native-histograms-ingestion-enabled=true", "-config.file=/etc/mimir.yaml"]
ports:
- "9009:9009"
volumes:
- "./config/observability/mimir.yaml:/etc/mimir.yaml"