Created
July 23, 2026 06:46
-
-
Save jamesxsc/06919ee82ea33e7ab1eb76cdbbacb4bb to your computer and use it in GitHub Desktop.
Redpanda container config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| redpanda: | |
| image: redpandadata/redpanda:latest | |
| container_name: redpanda | |
| ports: | |
| - "9092:9092" | |
| - "29092:29092" | |
| - "9644:9644" | |
| command: | |
| - redpanda | |
| - start | |
| - --overprovisioned | |
| - --smp=1 | |
| - --memory=1G | |
| - --reserve-memory=0M | |
| - --kafka-addr=internal://0.0.0.0:9092,external://0.0.0.0:29092 | |
| - --advertise-kafka-addr=internal://redpanda:9092,external://localhost:29092 | |
| - --set auto_create_topics_enabled=true | |
| - --set retention_ms=604800000 # 7 days |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment