snapshot of https://github.com/ThreeDotsLabs/watermill.git (master, 2026-09-15; blobs > 131072B omitted)
Some checks failed
master / ci (push) Failing after 0s
Some checks failed
master / ci (push) Failing after 0s
This commit is contained in:
25
_examples/pubsubs/kafka/docker-compose.yml
Normal file
25
_examples/pubsubs/kafka/docker-compose.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
services:
|
||||
server:
|
||||
image: golang:1.25
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- kafka
|
||||
volumes:
|
||||
- .:/app
|
||||
- $GOPATH/pkg/mod:/go/pkg/mod
|
||||
working_dir: /app
|
||||
command: go run main.go
|
||||
|
||||
kafka:
|
||||
image: redpandadata/redpanda:v26.1.7
|
||||
restart: unless-stopped
|
||||
logging:
|
||||
driver: none
|
||||
command:
|
||||
- redpanda
|
||||
- start
|
||||
- --kafka-addr internal://0.0.0.0:9092,external://0.0.0.0:19092
|
||||
- --advertise-kafka-addr internal://kafka:9092,external://localhost:19092
|
||||
- --mode dev-container
|
||||
- --smp 1
|
||||
- --default-log-level=warn
|
||||
Reference in New Issue
Block a user