You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.2 KiB
YAML
50 lines
1.2 KiB
YAML
version: '3.8'
|
|
|
|
services:
|
|
postgres:
|
|
image: postgres:16
|
|
container_name: my_postgres
|
|
environment:
|
|
POSTGRES_USER: myuser
|
|
POSTGRES_PASSWORD: mypassword
|
|
POSTGRES_DB: mydatabase
|
|
ports:
|
|
- "5433:5432" # Host:Container
|
|
volumes:
|
|
- ./.pg_data:/var/lib/postgresql/data
|
|
user: "${UID}:${GID}"
|
|
|
|
river-ui:
|
|
image: ghcr.io/riverqueue/riverui:latest
|
|
environment:
|
|
- DATABASE_URL=postgresql://myuser:mypassword@postgres:5432/mydatabase
|
|
ports:
|
|
- "6543:8080"
|
|
depends_on:
|
|
- postgres
|
|
|
|
jaeger:
|
|
image: jaegertracing/all-in-one:latest
|
|
ports:
|
|
- "16686:16686" # Jaeger UI
|
|
- "14268:14268" # Jaeger collector
|
|
|
|
prometheus:
|
|
image: prom/prometheus:latest
|
|
ports:
|
|
- "9090:9090"
|
|
volumes:
|
|
- ./data/prometheus.yml:/etc/prometheus/prometheus.yml
|
|
|
|
otel-collector:
|
|
image: otel/opentelemetry-collector-contrib:latest
|
|
command: ["--config=/etc/otel-collector-config.yaml"]
|
|
volumes:
|
|
- ./data/otel-collector-config.yaml:/etc/otel-collector-config.yaml
|
|
ports:
|
|
- "4317:4317" # OTLP gRPC
|
|
- "4318:4318" # OTLP HTTP
|
|
depends_on:
|
|
- jaeger
|
|
- prometheus
|