# Identity Server configuration
# Email configuration for "youripadress"
is:
email:
sender-name: 'The Things Stack'
sender-address: 'noreply@youripadress'
network:
name: 'The Things Stack'
console-url: 'https://youripadress/console'
identity-server-url: 'https://youripadress/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 "youripadress":
oauth:
ui:
canonical-url: 'https://youripadress/oauth'
is:
base-url: 'https://youripadress/api/v3'
# https server configuration
https:
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 "youripadress"
# tls:
# source: 'acme'
# acme:
# dir: '/var/lib/acme'
# email: 'you@youripadress'
# hosts: ['youripadress']
# default-host: 'youripadress'
# If Gateway Server enabled, defaults for "youripadress":
gs:
mqtt:
public-address: 'youripadress:1882'
public-tls-address: 'youripadress:8882'
mqtt-v2:
public-address: 'youripadress:1881'
public-tls-address: 'youripadress:8881'
# If Gateway Configuration Server enabled, defaults for "youripadress":
gcs:
basic-station:
default:
lns-uri: 'wss://youripadress:8887'
the-things-gateway:
default:
mqtt-server: 'mqtts://youripadress:8881'
# Web UI configuration for "youripadress":
console:
ui:
canonical-url: 'https://youripadress/console'
is:
base-url: 'https://youripadress/api/v3'
gs:
base-url: 'https://youripadress/api/v3'
gcs:
base-url: 'https://youripadress/api/v3'
ns:
base-url: 'https://youripadress/api/v3'
as:
base-url: 'https://youripadress/api/v3'
js:
base-url: 'https://youripadress/api/v3'
qrg:
base-url: 'https://youripadress/api/v3'
edtc:
base-url: 'https://youripadress/api/v3'
oauth:
authorize-url: 'https://youripadress/oauth/authorize'
token-url: 'https://youripadress/oauth/token'
logout-url: 'https://youripadress/oauth/logout'
client-id: 'console'
client-secret: 'console' # choose or generate a secret
# If Application Server enabled, defaults for "youripadress":
as:
mqtt:
public-address: 'youripadress:1883'
public-tls-address: 'youripadress:8883'
webhooks:
downlink:
public-address: 'youripadress:1885/api/v3'
# If Device Claiming Server enabled, defaults for "youripadress":
dcs:
oauth:
authorize-url: 'https://youripadress/oauth/authorize'
token-url: 'https://youripadress/oauth/token'
logout-url: 'https://youripadress/oauth/logout'
client-id: 'console'
client-secret: 'console' # choose or generate a secret
ui:
canonical-url: 'https://youripadress/claim'
as:
base-url: 'https://youripadress/api/v3'
dcs:
base-url: 'https://youripadress/api/v3'
is:
base-url: 'https://youripadress/api/v3'
ns:
base-url: 'https://youripadress/api/v3'