1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/redpanda/docker-compose.yml
2024-08-05 17:43:48 +08:00

41 lines
761 B
YAML

version: "3.8"
services:
redpanda:
image: redpandadata/redpanda:v24.2.1
ports:
- "8081:8081"
- "8082:8082"
- "9092:9092"
- "9644:9644"
- "33145:33145"
volumes:
- ./data/etc:/etc/redpanda
- ./data/var:/var/lib/redpanda
restart: unless-stopped
console:
image: redpandadata/console:v2.7.0
ports:
- "8080:8080"
volumes:
- ./data/etc:/etc/redpanda
depends_on:
- redpanda
restart: unless-stopped
connect:
image: redpandadata/connect:4.32.1
command:
- run
- input.type=http_server
- output.type=kafka
- output.kafka.addresses=redpanda:9092
- output.kafka.topic=test
ports:
- "4195:4195"
depends_on:
- redpanda
restart: unless-stopped