Snapshot of verae-nats-cluster from zapier monorepo (NATS cluster bench)
This commit is contained in:
commit
8afd8165dd
41 changed files with 1054 additions and 0 deletions
19
conf/nats.conf.tmpl
Normal file
19
conf/nats.conf.tmpl
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# 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: 256M
|
||||
max_file: 4G
|
||||
}
|
||||
|
||||
cluster {
|
||||
name: {{CLUSTER}}
|
||||
listen: {{IP}}:6222
|
||||
routes: [
|
||||
{{ROUTES}}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue