Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 13 additions & 52 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,70 +1,31 @@
services:
otel-collector:
image: otel/opentelemetry-collector-contrib:latest
container_name: otel-collector
otel-lgtm:
image: grafana/otel-lgtm:latest
container_name: otel-lgtm
restart: unless-stopped
ports:
- "3000:3000" # Grafana UI
- "4317:4317" # OTLP gRPC
- "4318:4318" # OTLP HTTP
volumes:
- "./otel-collector-config.yaml:/etc/otelcol-contrib/config.yaml"
ports:
- "4317:4317"
- "4318:4318"
- "lgtm-data:/data" # Persist data across restarts
networks: [telemetry]
depends_on: [tempo, loki]

tempo:
image: grafana/tempo:latest
container_name: tempo
restart: unless-stopped
volumes:
- "./tempo.yaml:/etc/tempo.yaml"
networks: [telemetry]
command:
- "-config.file=/etc/tempo.yaml"

prometheus:
image: prom/prometheus:latest
container_name: prometheus
restart: unless-stopped
volumes:
- "./prometheus.yaml:/etc/prometheus/prometheus.yml"
ports:
- "9090:9090" # Prometheus UI
networks: [telemetry]
depends_on: [otel-collector]

loki:
image: grafana/loki:latest
container_name: loki
restart: unless-stopped
networks: [telemetry]
command:
- "-config.file=/etc/loki/local-config.yaml"

grafana:
image: grafana/grafana:latest
container_name: grafana
restart: unless-stopped
ports:
- "3000:3000"
volumes:
- "grafana-storage:/var/lib/grafana"
networks: [telemetry]
depends_on: [loki, prometheus, tempo]

# Cloudflare Tunnel - Exposes collector for deployed actions
cloudflared:
image: cloudflare/cloudflared:latest
container_name: cloudflared
restart: unless-stopped
networks: [telemetry]
depends_on: [otel-collector]
command:
depends_on: [otel-lgtm]
command:
- "tunnel"
- "--url"
- "http://otel-collector:4318"
- "http://otel-lgtm:4318"

networks:
telemetry:
driver: bridge

volumes:
grafana-storage:
lgtm-data:
42 changes: 0 additions & 42 deletions otel-collector-config.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions prometheus.yaml

This file was deleted.

26 changes: 0 additions & 26 deletions tempo.yaml

This file was deleted.