services: nats: image: nats:2.11-alpine command: - "--jetstream" ports: - "4222:4222" # Client connections - "8222:8222" # HTTP monitoring - "6222:6222" # Clustering