-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
100 lines (100 loc) · 3.29 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# see https://github.com/compose-spec/compose-spec/blob/master/spec.md
# see https://github.com/opencontainers/image-spec/blob/master/annotations.md
services:
mailpit:
# see https://hub.docker.com/r/axllent/mailpit
# see https://github.com/axllent/mailpit
# see https://mailpit.axllent.org/docs/install/docker/
image: axllent/mailpit:v1.19.3
ports:
# http.
# http://localhost:8025
- 8025:8025
restart: on-failure
alertmanager:
# see https://hub.docker.com/r/prom/alertmanager
# see https://github.com/prometheus/alertmanager
image: prom/alertmanager:v0.27.0
command:
- --config.file=/etc/alertmanager.yml
volumes:
- ./alertmanager/alertmanager.yml:/etc/alertmanager.yml
ports:
# http.
- 9093:9093
restart: on-failure
prometheus:
# see https://hub.docker.com/r/prom/prometheus
# see https://github.com/prometheus/prometheus
image: prom/prometheus:v2.53.1
command:
- --config.file=/etc/prometheus.yml
- --web.enable-remote-write-receiver
- --enable-feature=exemplar-storage
volumes:
- ./prometheus/prometheus.yml:/etc/prometheus.yml
ports:
# http.
- 9090:9090
restart: on-failure
tempo:
# see https://hub.docker.com/r/grafana/tempo/tags
# see https://github.com/grafana/tempo/releases
image: grafana/tempo:2.5.0
command:
- -config.file=/etc/tempo/config.yml
volumes:
- ./tempo/config.yml:/etc/tempo/config.yml
restart: on-failure
loki:
# see https://hub.docker.com/r/grafana/loki/tags
# see https://github.com/grafana/loki/releases
# see https://grafana.com/docs/loki/latest/installation/docker/
image: grafana/loki:3.1.0
command:
- -config.file=/etc/loki/config.yml
volumes:
- ./loki/config.yml:/etc/loki/config.yml
restart: on-failure
grafana:
# see https://hub.docker.com/r/grafana/grafana-oss/tags
# see https://github.com/grafana/grafana/releases
# see https://grafana.com/docs/grafana/latest/installation/docker/
image: grafana/grafana-oss:11.1.3
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_DISABLE_LOGIN_FORM=true
ports:
# web-management.
# http://localhost:3000
- 3000:3000
volumes:
- ./grafana/provisioning/:/etc/grafana/provisioning/
restart: on-failure
otelcol:
# see https://hub.docker.com/r/otel/opentelemetry-collector-contrib/tags
# see https://opentelemetry.io/docs/collector/installation/
# see https://github.com/open-telemetry/opentelemetry-collector
# see https://github.com/open-telemetry/opentelemetry-collector-contrib
# see https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/examples/demo/docker-compose.yaml
image: otel/opentelemetry-collector-contrib:0.106.1
command:
- --config=/etc/otelcol/config.yml
ports:
# otlp grpc.
- 4317:4317
volumes:
- ./otelcol/config.yml:/etc/otelcol/config.yml
restart: on-failure
quotes:
build: quotes
environment:
- OTEL_EXPORTER_OTLP_ENDPOINT=http://otelcol:4317
- OTEL_EXPORTER_OTLP_PROTOCOL=grpc
- ASPNETCORE_URLS=http://+:8000
ports:
# http api.
# http://localhost:8000
- 8000:8000
restart: on-failure