2024-05-23 20:05:32 +00:00
|
|
|
services:
|
|
|
|
# r-proxy, log generator
|
|
|
|
caddy:
|
|
|
|
image: caddy:latest
|
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
2024-08-15 21:39:11 +00:00
|
|
|
- 80:80
|
|
|
|
- 443:443
|
2024-06-04 20:48:29 +00:00
|
|
|
- '443:443/udp'
|
2024-05-23 20:05:32 +00:00
|
|
|
volumes:
|
2024-08-15 21:39:11 +00:00
|
|
|
- ./Caddyfile:/etc/caddy/Caddyfile
|
2024-05-23 20:05:32 +00:00
|
|
|
|
|
|
|
# log collector
|
|
|
|
prometheus:
|
|
|
|
image: prom/prometheus:latest
|
|
|
|
volumes:
|
2024-08-15 21:39:11 +00:00
|
|
|
- ./prometheus.yaml:/etc/prometheus/prometheus.yml
|
2024-05-23 20:05:32 +00:00
|
|
|
depends_on:
|
|
|
|
- caddy
|
|
|
|
|
2024-08-15 21:39:11 +00:00
|
|
|
# trace collector
|
|
|
|
tempo:
|
|
|
|
image: grafana/tempo:latest
|
|
|
|
command: [ "-config.file=/opt/tempo.yaml" ]
|
|
|
|
volumes:
|
|
|
|
- ./tempo.yaml:/opt/tempo.yaml
|
|
|
|
- ./tempo-storage/:/var/tempo
|
|
|
|
|
2024-05-23 20:05:32 +00:00
|
|
|
# log viewer
|
|
|
|
grafana:
|
|
|
|
image: grafana/grafana:latest
|
|
|
|
volumes:
|
2024-08-15 21:39:11 +00:00
|
|
|
- ./grafana.yaml:/etc/grafana/provisioning/datasources/datasources.yaml
|
|
|
|
- ./grafana-storage/:/var/lib/grafana
|
2024-05-23 20:05:32 +00:00
|
|
|
environment:
|
|
|
|
- GF_AUTH_ANONYMOUS_ENABLED=true
|
|
|
|
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
|
|
|
|
- GF_AUTH_DISABLE_LOGIN_FORM=true
|
|
|
|
- GF_FEATURE_TOGGLES_ENABLE=traceqlEditor
|
|
|
|
depends_on:
|
|
|
|
- prometheus
|
2024-08-15 21:39:11 +00:00
|
|
|
- tempo
|
2024-05-23 20:05:32 +00:00
|
|
|
|