3e7aef432f
* Separate pulsar and kafka docker-compose files * Add docker-compose for redpanda * Add small docs how to use docker-compose files
24 lines
525 B
YAML
24 lines
525 B
YAML
version: '3.7'
|
|
services:
|
|
redpanda:
|
|
command:
|
|
- redpanda
|
|
- start
|
|
- --smp
|
|
- '1'
|
|
- --reserve-memory
|
|
- 0M
|
|
- --overprovisioned
|
|
- --node-id
|
|
- '0'
|
|
- --kafka-addr
|
|
- PLAINTEXT://0.0.0.0:29092,OUTSIDE://0.0.0.0:9092
|
|
- --advertise-kafka-addr
|
|
- PLAINTEXT://redpanda:29092,OUTSIDE://localhost:9092
|
|
# NOTE: Please use the latest version here!
|
|
image: docker.vectorized.io/vectorized/redpanda:latest
|
|
container_name: redpanda-1
|
|
ports:
|
|
- 9092:9092
|
|
- 29092:29092
|