File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change
1
+ ADMIN: admin
2
+ ADMIN_SECRET: admin-secret
3
+ USER: user
4
+ USER_SECRET: user-secret
5
+
6
+ # Server cert:
7
+ #
8
+ # mkcert \
9
+ # -key-file key.pem \
10
+ # -cert-file cert.pem \
11
+ # server
12
+ #
13
+ # Client cert:
14
+ #
15
+ # mkcert \
16
+ # -client \
17
+ # -key-file client-key.pem \
18
+ # -cert-file client-cert.pem \
19
+ # server
20
+ #
21
+ tls {
22
+ cert_file /etc/hashup/server.pem
23
+ key_file /etc/hashup/server-key.pem
24
+ ca_file /etc/hashup/ca.pem
25
+ verify: true
26
+ }
27
+ allow_non_tls: false
28
+
29
+ jetstream {
30
+ store_dir /data/hashup/storage
31
+ # 1GB
32
+ max_memory_store: 1073741824
33
+ # 100GB
34
+ max_file_store: 107374182400
35
+ }
36
+
37
+ # Required for clustering
38
+ server_name=hashup
39
+
40
+ # monitoring
41
+ http: 127.0.0.1:8222
42
+ # nats port
43
+ port: 4222
44
+
45
+ accounts: {
46
+ $SYS: {
47
+ users: [{user: $ADMIN, password: $ADMIN_SECRET}]
48
+ }
49
+ HASHUP: {
50
+ jetstream: enabled
51
+ users: [{user: $USER, password: $USER_SECRET}]
52
+ }
53
+ }
You can’t perform that action at this time.
0 commit comments