-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathwest-server1.cfg
More file actions
34 lines (26 loc) · 797 Bytes
/
west-server1.cfg
File metadata and controls
34 lines (26 loc) · 797 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
34
server_name: west-server1
listen: 127.0.0.1:14222
http: 18222
log_file: "./logs/west-server1.log"
jetstream {
store_dir="./storage/west-s1"
}
server_tags: [ "west" ]
cluster {
name: west
listen: 127.0.0.1:14248
routes: [nats://127.0.0.1:14249,nats://127.0.0.1:14250]
}
gateway {
name: "west"
listen: "localhost:17222"
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