-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
115 lines (110 loc) · 3.44 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
services:
postgresql:
image: postgres:14
hostname: postgresql
volumes:
- pg_data:/var/lib/postgresql/data
environment:
POSTGRES_DB: "conduktor-console"
POSTGRES_USER: "conduktor"
POSTGRES_PASSWORD: "change_me"
POSTGRES_HOST_AUTH_METHOD: "scram-sha-256"
healthcheck:
test:
[
"CMD",
"pg_isready",
"-U",
"conduktor",
"-d",
"conduktor-console",
"-h",
"localhost",
"-p",
"5432",
]
interval: 10s
timeout: 5s
retries: 5
conduktor-console:
image: ${CONDUKTOR_CONSOLE_IMAGE}
depends_on:
postgresql:
condition: service_healthy
conduktor-monitoring:
condition: service_healthy
ports:
- "8080:8080"
volumes:
- conduktor_data:/var/conduktor
environment:
- CDK_LICENSE # forward from the environment if set
- CDK_DEBUG # forward from the environment if set
- CDK_ADMIN_EMAIL=${CDK_ADMIN_EMAIL:[email protected]}
- CDK_ADMIN_PASSWORD=${CDK_ADMIN_PASSWORD:-test}
- CDK_DATABASE_URL=postgresql://conduktor:change_me@postgresql:5432/conduktor-console
- CDK_MONITORING_CORTEX-URL=http://conduktor-monitoring:9009/
- CDK_MONITORING_ALERT-MANAGER-URL=http://conduktor-monitoring:9010/
- CDK_MONITORING_CALLBACK-URL=http://conduktor-platform:8080/monitoring/api/
- CDK_MONITORING_NOTIFICATIONS-CALLBACK-URL=http://localhost:8080
healthcheck:
test: ["CMD", "/opt/conduktor/scripts/healthcheck.sh"]
conduktor-monitoring:
image: ${CONDUKTOR_CONSOLE_CORTEX_IMAGE}
environment:
CDK_CONSOLE-URL: "http://conduktor-console:8080"
healthcheck:
test: ["CMD", "/opt/conduktor/scripts/healthcheck.sh"]
redpanda:
image: docker.redpanda.com/redpandadata/redpanda:v22.3.11
hostname: redpanda
command:
- redpanda
- start
- --kafka-addr
- internal://0.0.0.0:9092,external://0.0.0.0:19092
- --advertise-kafka-addr
- internal://redpanda:9092,external://localhost:19092
- --pandaproxy-addr
- internal://0.0.0.0:8082,external://0.0.0.0:18082
- --advertise-pandaproxy-addr
- internal://redpanda:8082,external://localhost:18082
- --schema-registry-addr
- internal://0.0.0.0:8081,external://0.0.0.0:18081
- --rpc-addr
- redpanda:33145
- --advertise-rpc-addr
- redpanda:33145
- --smp 1
- --memory 1G
- --reserve-memory 0M
- --overprovisioned
- --default-log-level=debug
ports:
- 18081:18081
- 18082:18082
- 19092:19092
- 19644:9644
conduktor-gateway:
image: ${CONDUKTOR_GATEWAY_IMAGE}
hostname: gateway
ports:
- "9094:9094"
- "8888:8888"
depends_on:
- redpanda
environment:
KAFKA_BOOTSTRAP_SERVERS: redpanda:9092
GATEWAY_ADVERTISED_HOST: gateway
GATEWAY_HTTP_PORT: 8888
GATEWAY_PORT_START: 9094
GATEWAY_PORT_COUNT: 1
# OAuth config needed to test EXTERNAL service accounts
GATEWAY_SECURITY_PROTOCOL: SASL_PLAINTEXT
GATEWAY_LICENSE_KEY: ${CDK_LICENSE:-}
GATEWAY_OAUTH_JWKS_URL: "https://login.microsoftonline.com/common/discovery/keys"
GATEWAY_OAUTH_EXPECTED_ISSUER: "https://sts.windows.net/38755287-df00-48cd-805b-1ebe914e8b11/"
GATEWAY_OAUTH_EXPECTED_AUDIENCES: "[00000002-0000-0000-c000-000000000000]"
volumes:
pg_data: {}
conduktor_data: {}