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:
30
_examples/basic/6-cqrs-ordered-events/docker-compose.yml
Normal file
30
_examples/basic/6-cqrs-ordered-events/docker-compose.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
services:
|
||||
golang:
|
||||
image: golang:1.25
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 8080:8080
|
||||
depends_on:
|
||||
- kafka
|
||||
links:
|
||||
- kafka
|
||||
volumes:
|
||||
- .:/app
|
||||
- $GOPATH/pkg/mod:/go/pkg/mod
|
||||
working_dir: /app
|
||||
command: go run .
|
||||
|
||||
kafka:
|
||||
container_name: kafka
|
||||
attach: false
|
||||
image: redpandadata/redpanda:v26.1.7
|
||||
ports:
|
||||
- 19092:19092
|
||||
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