feat: breaking change on redpanda

This commit is contained in:
Reinaldy Rafli 2023-07-01 17:31:49 +07:00
parent 747dbef50e
commit 709294ed2f
Signed by: aldy505
GPG Key ID: A3F8A7E23DA2AD94
2 changed files with 22 additions and 2 deletions

View File

@ -1,7 +1,7 @@
FROM docker.redpanda.com/vectorized/redpanda:v23.1.12
FROM docker.redpanda.com/vectorized/redpanda:v23.1.13
WORKDIR /
RUN mkdir -p /var/lib/redpanda/data/
CMD ["redpanda", "start", "--smp 1", "--memory 1G", "--reserve-memory 0M", "--overprovisioned", "--node-id 0", "--check=false", "--pandaproxy-addr PLAINTEXT://0.0.0.0:28082,OUTSIDE://0.0.0.0:8082", "--advertise-pandaproxy-addr PLAINTEXT://kafka:28082,OUTSIDE://localhost:8082", "--kafka-addr PLAINTEXT://0.0.0.0:29092,OUTSIDE://0.0.0.0:9092", "--rpc-addr 0.0.0.0:33145", "--advertise-kafka-addr PLAINTEXT://kafka:29092,OUTSIDE://localhost:9092", "--advertise-rpc-addr kafka:33145"]
CMD ["redpanda", "start", "--smp 1", "--memory 1G", "--reserve-memory 0M", "--overprovisioned", "--node-id 0", "--check=false", "--pandaproxy-addr PLAINTEXT://redpanda:8082,OUTSIDE://localhost:8082", "--advertise-pandaproxy-addr PLAINTEXT://redpanda:8082,OUTSIDE://0.0.0.0:8082", "--kafka-addr PLAINTEXT://redpanda:9092,OUTSIDE://localhost:9092", "--rpc-addr 0.0.0.0:33145", "--advertise-kafka-addr PLAINTEXT://redpanda:9092,OUTSIDE://0.0.0.0:9092", "--advertise-rpc-addr redpanda:33145"]

20
redpanda/README.md Normal file
View File

@ -0,0 +1,20 @@
# Redpanda
How to use this image:
```yml
jobs:
job_name:
services:
redpanda: # YES, the name MUST BE "redpanda"
image: ghcr.io/aldy505/redpanda-ci:latest
options: >-
--health-cmd "rpk cluster health"
--health-interval 10s
--health-timeout 5s
--health-retries 10
--health-start-period 30s
--restart on-failure:10
```
Connect to `redpanda:9092` to access the Kafka native API.
Connect to `redpanda:8082` to access the Pandaproxy API (see https://redpanda.com/blog/pandaproxy)