-
Notifications
You must be signed in to change notification settings - Fork 16
/
compose.yaml
46 lines (46 loc) · 1.48 KB
/
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
services:
kafka-broker:
image: docker.redpanda.com/redpandadata/redpanda:v24.1.1
command: |
redpanda start
--smp 1
--overprovisioned
--node-id 0
--kafka-addr internal://0.0.0.0:9092,external://0.0.0.0:19092
--advertise-kafka-addr internal://kafka-broker:9092,external://localhost:9092
--pandaproxy-addr internal://0.0.0.0:8082,external://0.0.0.0:18082
--advertise-pandaproxy-addr internal://kafka-broker:8082,external://localhost:18082
--schema-registry-addr internal://0.0.0.0:8081,external://0.0.0.0:18081
--rpc-addr kafka-broker:33145
--advertise-rpc-addr kafka-broker:33145
--mode dev-container
--set auto_create_topics_enabled=true
ports:
- 18081:18081
- 18082:18082
- 9092:19092
- 19644:9644
console:
image: docker.redpanda.com/redpandadata/console:v2.5.2
entrypoint: /bin/sh
command: |-
-c 'echo "$$CONSOLE_CONFIG_FILE" > /tmp/config.yml; /app/console'
ports:
- 8080:8080
environment:
CONFIG_FILEPATH: /tmp/config.yml
CONSOLE_CONFIG_FILE: >
kafka:
brokers: ["kafka-broker:9092"]
schemaRegistry:
enabled: true
urls: ["http://kafka-broker:8081"]
redpanda:
adminApi:
enabled: true
urls: ["http://kafka-broker:9644"]
connect:
enabled: true
clusters:
- name: local-connect-cluster
url: http://connect:8083