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:
24
_examples/pubsubs/aws-sns/docker-compose.yml
Normal file
24
_examples/pubsubs/aws-sns/docker-compose.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
services:
|
||||
server:
|
||||
image: golang:1.25
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- .:/app
|
||||
- $GOPATH/pkg/mod:/go/pkg/mod
|
||||
working_dir: /app
|
||||
command: go run main.go
|
||||
|
||||
localstack:
|
||||
image: localstack/localstack:3.8
|
||||
environment:
|
||||
- SERVICES=sqs,sns
|
||||
- AWS_DEFAULT_REGION=us-east-1
|
||||
- EDGE_PORT=4566
|
||||
ports:
|
||||
- "4566-4597:4566-4597"
|
||||
healthcheck:
|
||||
test: awslocal sqs list-queues && awslocal sns list-topics
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 30s
|
||||
Reference in New Issue
Block a user