File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ # Client port of 4222 on all interfaces
2+ port: 4222
3+
4+ # HTTP monitoring port
5+ monitor_port: 8222
6+
7+ # This is for clustering multiple servers together.
8+ cluster {
9+ # It is recommended to set a cluster name
10+ name: "my_cluster"
11+
12+ # Route connections to be received on any interface on port 6222
13+ port: 6222
14+
15+ # Routes are protected, so need to use them with --routes flag
16+ # e.g. --routes=nats-route://ruser:T0pS3cr3t@otherdockerhost:6222
17+ authorization {
18+ user: ruser
19+ password: T0pS3cr3t
20+ timeout: 2
21+ }
22+
23+ # Routes are actively solicited and connected to from this server.
24+ # This Docker image has none by default, but you can pass a
25+ # flag to the nats-server docker image to create one to an existing server.
26+ routes = []
27+ }
28+
129max_payload: 64MB
You can’t perform that action at this time.
0 commit comments