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:
22
_examples/pubsubs/nats-core/docker-compose.yml
Normal file
22
_examples/pubsubs/nats-core/docker-compose.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
services:
|
||||
server:
|
||||
image: golang:1.25
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- nats
|
||||
volumes:
|
||||
- .:/app
|
||||
- $GOPATH/pkg/mod:/go/pkg/mod
|
||||
working_dir: /app
|
||||
command: go run main.go
|
||||
|
||||
nats:
|
||||
image: nats:2
|
||||
ports:
|
||||
- "0.0.0.0:4222:4222"
|
||||
restart: unless-stopped
|
||||
command: ["-js"]
|
||||
ulimits:
|
||||
nofile:
|
||||
soft: 65536
|
||||
hard: 65536
|
||||
Reference in New Issue
Block a user