-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathnats.conf
More file actions
39 lines (38 loc) · 908 Bytes
/
nats.conf
File metadata and controls
39 lines (38 loc) · 908 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
35
36
37
38
39
# Client port of 4222 on all interfaces
host: 0.0.0.0
port: 4222
server_name = heynats
# HTTP monitoring port
monitor_port: 8222
accounts: {
USER: {
users: [
{
user: "mukezhz",
password: "$2a$11$bn4xHff.DxtJkmSW5EmpZed99KxYMzrY6DVlxGHPoMm1HzO/Jrsrq",
permissions: {
publish: {
allow: ["logs.>"]
},
subscribe: {
allow: ["logs.>"]
}
}
}
]
}
SYS: {
users: [
{
user: "admin",
password: "$2a$11$bn4xHff.DxtJkmSW5EmpZed99KxYMzrY6DVlxGHPoMm1HzO/Jrsrq",
}
],
jetstream: {}
}
}
jetstream {
store_dir: "/tmp/jetstream"
max_memory_store: 1073741824
max_file_store: 10737418240
}