-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy patheast-server2.cfg
More file actions
33 lines (26 loc) · 796 Bytes
/
east-server2.cfg
File metadata and controls
33 lines (26 loc) · 796 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
server_name: east-server2
listen: 127.0.0.1:34223
http: 38223
log_file: "./logs/east-server2.log"
jetstream {
store_dir="./storage/east-s2"
}
server_tags: [ "east" ]
cluster {
name: east
listen: 127.0.0.1:34249
routes: [nats://127.0.0.1:34248,nats://127.0.0.1:34250]
}
gateway {
name: "east"
listen: "localhost:37223"
gateways: [
{name: "west", urls: ["nats://localhost:17222", "nats://localhost:17223", "nats://localhost:17224"]},
{name: "central", urls: ["nats://localhost:27222", "nats://localhost:27223", "nats://localhost:27224"]},
{name: "east", urls: ["nats://localhost:37222", "nats://localhost:37223", "nats://localhost:37224"]}
]
}
accounts {
$SYS { users = [ { user: "admin", pass: "s3cr3t!" } ] }
}
include ./mappings.cfg