Files
upstream-watermill/_examples/pubsubs/nats-jetstream/docker-compose.yml
2026-09-15 21:27:46 +05:00

23 lines
396 B
YAML

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