-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
62 lines (59 loc) · 1.81 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Copyright The Linux Foundation and its contributors.
# SPDX-License-Identifier: MIT
---
version: "2"
services:
# Auth0 CAS server.
auth0-cas-server-go:
image: linuxfoundation/auth0-cas-server-go:latest
pull_policy: never
build: .
ports:
- "8080:8080"
environment:
- OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317
# Set required environmental variables in a .env file.
- AUTH0_TENANT
- AUTH0_DOMAIN
- CLIENT_ID
- CLIENT_SECRET
- COOKIE_SECRET
- INSECURE_COOKIE
- REMOTE_IP_HEADER
- DEBUG
depends_on:
- otel-collector
# Jaeger
jaeger-all-in-one:
image: docker.io/jaegertracing/all-in-one:1.28
ports:
- "16686:16686"
- "14268"
- "14250"
# Use OTEL Collector locally, instead of DD Agent, to route to both DD and
# Jaeger. We don't use OTEL Collector in ECS deployment, because configuring
# it with environmental variables is a pain, and mounting a config file in
# ECS is non-trivial as well.
otel-collector:
image: docker.io/otel/opentelemetry-collector-contrib:0.66.0
volumes:
- ./otel_collector_local.yaml:/etc/otel/config.yaml
command: ["--config=/etc/otel/config.yaml"]
ports:
- "1888:1888" # pprof extension
- "8888:8888" # Prometheus metrics exposed by the collector
- "8889:8889" # Prometheus exporter metrics
- "13133:13133" # health_check extension
- "4317:4317" # OTLP gRPC receiver
- "55670:55679" # zpages extension
environment:
- DD_API_KEY
- DD_ENV
depends_on:
- jaeger-all-in-one
# Fluentbit (to stdout) agent for testing Fluent logging
fluentbit:
image: docker.io/fluent/fluent-bit:1.8
ports:
- "24224:24224"
command: "/fluent-bit/bin/fluent-bit -i forward -o stdout"