opentelemetry-erlang-contrib/examples/basic_phoenix_ecto/docker-compose.yaml

40 lines
733 B
YAML

version: '3'
services:
postgres:
image: 'postgres:latest'
ports:
- 5432:5432
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: demo_dev
phoenix:
env_file: .env
build: .
ports:
- 4000:4000
otel:
image: otel/opentelemetry-collector-contrib-dev:latest
command: ["--config=/etc/otel-collector-config.yaml"]
ports:
- '4318:4318'
volumes:
- ./otel-collector-config.yaml:/etc/otel-collector-config.yaml
zipkin:
image: openzipkin/zipkin-slim
ports:
- '9411:9411'
# Jaeger
jaeger-all-in-one:
image: jaegertracing/all-in-one:latest
ports:
- "16686:16686"
- "14268"
- "14250"