forked from TheThingsNetwork/lorawan-stack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathttn-lw-stack-docker.yml
More file actions
101 lines (91 loc) · 3.18 KB
/
ttn-lw-stack-docker.yml
File metadata and controls
101 lines (91 loc) · 3.18 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
93
94
95
96
97
98
99
100
101
# Example ttn-lw-stack configuration file
# Keep in sync with `doc/content/guides/getting-started/configuration.md`
# Identity Server configuration
# is:
# Email configuration for "thethings.example.com"
# email:
# sender-name: 'The Things Stack'
# sender-address: '[email protected]'
# network:
# name: 'The Things Stack'
# console-url: 'https://thethings.example.com/console'
# identity-server-url: 'https://thethings.example.com/oauth'
# If sending email with Sendgrid
# provider: sendgrid
# sendgrid:
# api-key: '...' # enter Sendgrid API key
# If sending email with SMTP
# provider: smtp
# smtp:
# address: '...' # enter SMTP server address
# username: '...' # enter SMTP server username
# password: '...' # enter SMTP server password
# Web UI configuration for "thethings.example.com":
# oauth:
# ui:
# canonical-url: 'https://thethings.example.com/oauth'
# is:
# base-url: 'https://thethings.example.com/api/v3'
# HTTP server configuration
# http:
# cookie:
# block-key: '...' # generate 32 bytes (openssl rand -hex 32)
# hash-key: '...' # generate 64 bytes (openssl rand -hex 64)
# metrics:
# password: 'metrics' # choose a password
# pprof:
# password: 'pprof' # choose a password
# If using custom certificates:
tls:
source: file
root-ca: /run/secrets/ca.pem
certificate: /run/secrets/cert.pem
key: /run/secrets/key.pem
# Let's encrypt for "thethings.example.com"
# tls:
# source: 'acme'
# acme:
# dir: '/var/lib/acme'
# email: '[email protected]'
# hosts: ['thethings.example.com']
# default-host: 'thethings.example.com'
# If Gateway Server enabled, defaults for "thethings.example.com":
# gs:
# mqtt:
# public-address: 'thethings.example.com:1882'
# public-tls-address: 'thethings.example.com:8882'
# mqtt-v2:
# public-address: 'thethings.example.com:1881'
# public-tls-address: 'thethings.example.com:8881'
# If Gateway Configuration Server enabled, defaults for "thethings.example.com":
# gcs:
# basic-station:
# default:
# lns-uri: 'wss://thethings.example.com:8887'
# the-things-gateway:
# default:
# mqtt-server: 'mqtts://thethings.example.com:8881'
# Web UI configuration for "thethings.example.com":
# console:
# ui:
# canonical-url: 'https://thethings.example.com/console'
# is:
# base-url: 'https://thethings.example.com/api/v3'
# gs:
# base-url: 'https://thethings.example.com/api/v3'
# ns:
# base-url: 'https://thethings.example.com/api/v3'
# as:
# base-url: 'https://thethings.example.com/api/v3'
# js:
# base-url: 'https://thethings.example.com/api/v3'
# qrg:
# base-url: 'https://thethings.example.com/api/v3'
# edtc:
# base-url: 'https://thethings.example.com/api/v3'
#
# oauth:
# authorize-url: 'https://thethings.example.com/oauth/authorize'
# token-url: 'https://thethings.example.com/oauth/token'
# client-id: 'console'
# client-secret: 'console' # choose or generate a secret