2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 21:33:02 +01:00

update redpanda

This commit is contained in:
kev
2024-08-05 17:30:02 +08:00
parent 5b38fa8ea0
commit 67a22aafaa
2 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
kafka:
brokers:
- redpanda:9092

View File

@@ -1,5 +1,7 @@
version: "3.8" version: "3.8"
services: services:
redpanda: redpanda:
image: redpandadata/redpanda:v24.2.1 image: redpandadata/redpanda:v24.2.1
ports: ports:
@@ -12,3 +14,13 @@ services:
- ./data/etc:/etc/redpanda - ./data/etc:/etc/redpanda
- ./data/var:/var/lib/redpanda - ./data/var:/var/lib/redpanda
restart: unless-stopped restart: unless-stopped
console:
image: redpandadata/console:v2.7.0
ports:
- "8080:8080"
volumes:
- ./data/etc:/etc/redpanda
depends_on:
- redpanda
restart: unless-stopped