forked from fox27374/lora-stack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathttn-lw-stack.yml
More file actions
92 lines (81 loc) · 2.67 KB
/
Copy pathttn-lw-stack.yml
File metadata and controls
92 lines (81 loc) · 2.67 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
log:
level: "debug"
# Redis configuration
redis:
address: 'redis:6379'
# Identity Server configuration
is:
# If using CockroachDB
database-uri: 'postgres://root@cockroach:26257/ttn_lorawan?sslmode=disable'
# Email configuration for "lora01.ntslab.loc"
email:
sender-name: 'The Things Stack'
sender-address: 'noreply@lora01.ntslab.loc'
network:
name: 'The Things Stack'
console-url: 'https://lora01.ntslab.loc/console'
identity-server-url: 'https://lora01.ntslab.loc/oauth'
# Web UI configuration for "lora01.ntslab.loc":
oauth:
ui:
canonical-url: 'https://lora01.ntslab.loc/oauth'
is:
base-url: 'https://lora01.ntslab.loc/api/v3'
# HTTP server configuration
https:
cookie:
# generate 32 bytes (openssl rand -hex 32)
block-key: 'bf81c5be3111db5f6ea56c464e4b473e93b45b4fc41b5a722dc226b36a2d6dda'
# generate 64 bytes (openssl rand -hex 64)
hash-key: '7c8e9e3dc723ba71824feb5e437ef1711ad6e61b00ff72379a2a6f1d9486614388e837374e0a5e61d5cb704e4753532442afd3df12f71875d6f6433be8bbb10e'
metrics:
password: 'metrics' # choose a password
pprof:
password: 'pprof' # choose a password
tls:
source: "file"
root-ca: "/var/run/secrets/ca.pem"
certificate: "/var/run/secrets/cert.pem"
key: "/var/run/secrets/key.pem"
# If Gateway Server enabled, defaults for "lora01.ntslab.loc":
gs:
mqtt:
public-address: 'lora01.ntslab.loc:1882'
public-tls-address: 'lora01.ntslab.loc:8882'
mqtt-v2:
public-address: 'lora01.ntslab.loc:1881'
public-tls-address: 'lora01.ntslab.loc:8881'
# If Gateway Configuration Server enabled, defaults for "lora01.ntslab.loc":
gcs:
basic-station:
default:
lns-uri: 'wss://lora01.ntslab.loc:8887'
the-things-gateway:
default:
mqtt-server: 'mqtts://lora01.ntslab.loc:8881'
blob:
local:
directory: "/srv/ttn-lorawan/public/blob"
# Web UI configuration for "lora01.ntslab.loc":
console:
ui:
canonical-url: 'https://lora01.ntslab.loc/console'
is:
base-url: 'https://lora01.ntslab.loc/api/v3'
gs:
base-url: 'https://lora01.ntslab.loc/api/v3'
ns:
base-url: 'https://lora01.ntslab.loc/api/v3'
as:
base-url: 'https://lora01.ntslab.loc/api/v3'
js:
base-url: 'https://lora01.ntslab.loc/api/v3'
qrg:
base-url: 'https://lora01.ntslab.loc/api/v3'
edtc:
base-url: 'https://lora01.ntslab.loc/api/v3'
oauth:
authorize-url: 'https://lora01.ntslab.loc/oauth/authorize'
token-url: 'https://lora01.ntslab.loc/oauth/token'
client-id: 'console'
client-secret: 'SM2CE7335KDAIILCA76KETRHDQTTDAQTDJHBSL6RCOX3WFZFDZ4Q' # choose or generate a secret (*)