Created
April 30, 2024 09:30
-
-
Save gustavomonarin/d6bee1f9f0bad605df6076cb36baa053 to your computer and use it in GitHub Desktop.
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
| version: '3.7' | |
| name: redpanda-owl-shop | |
| networks: | |
| redpanda_network: | |
| driver: bridge | |
| volumes: | |
| redpanda: null | |
| services: | |
| redpanda: | |
| image: docker.redpanda.com/redpandadata/redpanda:v23.3.13 | |
| command: | |
| - redpanda start | |
| - --smp 1 | |
| - --overprovisioned | |
| - --kafka-addr PLAINTEXT://0.0.0.0:29092,OUTSIDE://0.0.0.0:9092 | |
| - --advertise-kafka-addr PLAINTEXT://redpanda:29092,OUTSIDE://localhost:9092 | |
| - --pandaproxy-addr 0.0.0.0:8082 | |
| - --advertise-pandaproxy-addr localhost:8082 | |
| ports: | |
| - 8081:8081 | |
| - 8082:8082 | |
| - 9092:9092 | |
| - 9644:9644 | |
| - 29092:29092 | |
| volumes: | |
| - redpanda:/var/lib/redpanda/data | |
| networks: | |
| - redpanda_network | |
| console: | |
| image: docker.redpanda.com/redpandadata/console:v2.5.1 | |
| entrypoint: /bin/sh | |
| command: -c "echo \"$$CONSOLE_CONFIG_FILE\" > /tmp/config.yml; /app/console" | |
| environment: | |
| CONFIG_FILEPATH: /tmp/config.yml | |
| CONSOLE_CONFIG_FILE: | | |
| kafka: | |
| brokers: ["redpanda:29092"] | |
| schemaRegistry: | |
| enabled: true | |
| urls: ["http://redpanda:8081"] | |
| redpanda: | |
| adminApi: | |
| enabled: true | |
| urls: ["http://redpanda:9644"] | |
| connect: | |
| enabled: true | |
| clusters: | |
| - name: local-connect-cluster | |
| url: http://kafka-connect:8083 | |
| ports: | |
| - 9080:8080 | |
| networks: | |
| - redpanda_network | |
| depends_on: | |
| - redpanda |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment