DockerPrograms/Caddy/docker-compose.yml

44 lines
1010 B
YAML
Raw Normal View History

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'
volumes:
2024-08-15 21:39:11 +00:00
- ./Caddyfile:/etc/caddy/Caddyfile
# log collector
prometheus:
image: prom/prometheus:latest
volumes:
2024-08-15 21:39:11 +00:00
- ./prometheus.yaml:/etc/prometheus/prometheus.yml
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
# 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
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