Added docker compose for local development

This commit is contained in:
Robin Dittmar
2026-07-10 14:10:06 +02:00
parent 69fb473348
commit 4472bd24e8
3 changed files with 63 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
services:
otel-collector:
image: otel/opentelemetry-collector:latest
command: ["--config=/etc/otel-collector-config.yaml"]
volumes:
- ./otel-collector-config.yaml:/etc/otel-collector-config.yaml
ports:
- "4317:4317"
jaeger:
image: jaegertracing/all-in-one:latest
environment:
- COLLECTOR_OTLP_ENABLED=true
ports:
- "16686:16686"
prometheus:
image: prom/prometheus:latest
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- "9090:9090"
postgres:
image: postgres:latest
volumes:
- ./postgresql-data:/var/lib/postgresql/data
ports:
- "15432:5432"
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=dttmr