Skip to content

nats

NATS message broker with JetStream enabled

Variables

The following environment variables can be configured:

Variable Default Value Description
NATS_VERSION 2-alpine
NATS_CLIENT_PORT 4222
NATS_MONITORING_PORT 8222
NATS_CLUSTER_PORT 6222
NATS_DATA_DIR /data

Environment File

This fragment defaults to using .env.compose for environment variable isolation.