master-zapier-plan-draft/packages/verae-nats-cluster/conf/nats.conf.tmpl
George Lambert 123e040253
Some checks failed
offline / test (push) Has been cancelled
updates to nats cluster configuration and scripts
2026-09-19 23:52:39 -04:00

25 lines
430 B
Go Template

# JetStream cluster node. Bind the private guest IP only — never vmbr0 / 0.0.0.0.
server_name: {{NAME}}
host: {{IP}}
port: 4222
http: 127.0.0.1:8222
jetstream {
store_dir: /var/lib/nats/jetstream
max_mem: 8G
max_file: 4G
}
cluster {
name: {{CLUSTER}}
listen: {{IP}}:6222
routes: [
{{ROUTES}}
]
}
# Leaf hub for the public edge on NS1. Private vmbr1 only — not vmbr0.
leafnodes {
host: {{IP}}
port: 7422
}