-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
34 lines (32 loc) · 1.1 KB
/
Copy pathcompose.yaml
File metadata and controls
34 lines (32 loc) · 1.1 KB
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
# Local try-out stack: exporter + Prometheus (with the example alert rules)
# + Grafana (Prometheus datasource preprovisioned, anonymous admin).
#
# RESEND_WEBHOOK_SECRET=whsec_... docker compose up --build
#
# Without a real secret it starts with a dummy secret, useful for poking at
# /metrics but signature verification will reject real events.
services:
exporter:
build: .
environment:
RESEND_WEBHOOK_SECRET: ${RESEND_WEBHOOK_SECRET:-whsec_ZHVtbXktbG9jYWwtc2VjcmV0}
RESEND_EXPORTER_LOG_LEVEL: debug
ports:
- "8080:8080"
prometheus:
image: prom/prometheus:v3.13.1
volumes:
- ./examples/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro
- ./examples/prometheus/alerts.yml:/etc/prometheus/alerts.yml:ro
ports:
- "9090:9090"
grafana:
image: grafana/grafana:13.1.1
environment:
GF_AUTH_ANONYMOUS_ENABLED: "true"
GF_AUTH_ANONYMOUS_ORG_ROLE: Admin
volumes:
- ./examples/grafana/provisioning:/etc/grafana/provisioning:ro
- ./examples/grafana/dashboards:/var/lib/grafana/dashboards:ro
ports:
- "3000:3000"