master-zapier-plan-draft/packages/verae-nats-cluster/conf/public-edge.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

24 lines
546 B
Go Template

# Public client edge on NS1. Binds the public IPv4 only (not 0.0.0.0).
# Forwards to the private 3-node cluster via leafnodes. No JetStream here.
# Cluster routes :6222 and hub leaf :7422 stay on vmbr1.
server_name: nats-public-edge
listen: {{PUBLIC_IP}}:4222
http: 127.0.0.1:8229
authorization {
token: "{{TOKEN}}"
}
websocket {
listen: 127.0.0.1:14422
no_tls: true
compression: true
}
leafnodes {
remotes: [
{ url: "nats://10.10.10.21:7422" }
{ url: "nats://10.10.10.22:7422" }
{ url: "nats://10.10.10.23:7422" }
]
}