2022-02-26 01:45:46 +00:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
postgres:
|
|
|
|
image: 'postgres:latest'
|
|
|
|
ports:
|
|
|
|
- 5432:5432
|
|
|
|
|
|
|
|
environment:
|
|
|
|
POSTGRES_USER: postgres
|
|
|
|
POSTGRES_PASSWORD: postgres
|
|
|
|
POSTGRES_DB: demo_dev
|
|
|
|
|
|
|
|
otel:
|
|
|
|
image: otel/opentelemetry-collector-contrib-dev:latest
|
|
|
|
command: ["--config=/etc/otel-collector-config.yaml"]
|
|
|
|
ports:
|
2023-01-06 20:46:06 +00:00
|
|
|
- "4318:4318"
|
|
|
|
- '55681:55681'
|
|
|
|
- '55680:55680'
|
|
|
|
- "55679:55679"
|
2022-02-26 01:45:46 +00:00
|
|
|
volumes:
|
|
|
|
- ./otel-collector-config.yaml:/etc/otel-collector-config.yaml
|
2023-01-06 20:46:06 +00:00
|
|
|
depends_on:
|
|
|
|
- jaeger
|
|
|
|
- zipkin
|
2022-02-26 01:45:46 +00:00
|
|
|
|
|
|
|
zipkin:
|
|
|
|
image: openzipkin/zipkin-slim
|
2023-01-06 20:46:06 +00:00
|
|
|
container_name: "zipkin"
|
2022-02-26 01:45:46 +00:00
|
|
|
ports:
|
|
|
|
- '9411:9411'
|
|
|
|
|
|
|
|
# Jaeger
|
2023-01-06 20:46:06 +00:00
|
|
|
jaeger:
|
2022-02-26 01:45:46 +00:00
|
|
|
image: jaegertracing/all-in-one:latest
|
2023-01-06 20:46:06 +00:00
|
|
|
container_name: "jaeger"
|
2022-02-26 01:45:46 +00:00
|
|
|
ports:
|
2023-01-06 20:46:06 +00:00
|
|
|
- "4317:4317"
|
2022-02-26 01:45:46 +00:00
|
|
|
- "16686:16686"
|
|
|
|
- "14268"
|
2023-01-06 20:46:06 +00:00
|
|
|
- "14250:14250"
|