# file: config/stack/ttn-lw-stack.yaml # Example ttn-lw-stack configuration file # Identity Server configuration is: # Email configuration for "thethings.ntutokyottnproject.com" email: sender-name: 'The Things Stack' sender-address: 'noreply@thethings.ntutokyottnproject.com' network: name: 'The Things Stack' console-url: 'https://thethings.ntutokyottnproject.com/console' identity-server-url: 'https://thethings.ntutokyottnproject.com/oauth' # Web UI configuration for "thethings.ntutokyottnproject.com": oauth: ui: canonical-url: 'https://thethings.ntutokyottnproject.com/oauth' is: base-url: 'https://thethings.ntutokyottnproject.com/api/v3' # https server configuration https: cookie: # generate 32 bytes (openssl rand -hex 32) block-key: '0011223344556677001122334455667700112233445566770011223344556677' # generate 64 bytes (openssl rand -hex 64) hash-key: '00112233445566770011223344556677001122334455667700112233445566770011223344556677001122334455667700112233445566770011223344556677' 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 # If using Let's encrypt for "thethings.ntutokyottnproject.com" tls: source: 'acme' acme: dir: '/var/lib/acme' email: 'you@thethings.ntutokyottnproject.com' hosts: ['thethings.ntutokyottnproject.com'] default-host: 'thethings.ntutokyottnproject.com' # If Gateway Server enabled, defaults for "thethings.ntutokyottnproject.com": gs: mqtt: public-address: 'thethings.ntutokyottnproject.com:1882' public-tls-address: 'thethings.ntutokyottnproject.com:8882' mqtt-v2: public-address: 'thethings.ntutokyottnproject.com:1881' public-tls-address: 'thethings.ntutokyottnproject.com:8881' # If Gateway Configuration Server enabled, defaults for "thethings.ntutokyottnproject.com": gcs: basic-station: default: lns-uri: 'wss://thethings.ntutokyottnproject.com:8887' the-things-gateway: default: mqtt-server: 'mqtts://thethings.ntutokyottnproject.com:8881' # Web UI configuration for "thethings.ntutokyottnproject.com": console: ui: canonical-url: 'https://thethings.ntutokyottnproject.com/console' is: base-url: 'https://thethings.ntutokyottnproject.com/api/v3' gs: base-url: 'https://thethings.ntutokyottnproject.com/api/v3' ns: base-url: 'https://thethings.ntutokyottnproject.com/api/v3' as: base-url: 'https://thethings.ntutokyottnproject.com/api/v3' js: base-url: 'https://thethings.ntutokyottnproject.com/api/v3' qrg: base-url: 'https://thethings.ntutokyottnproject.com/api/v3' edtc: base-url: 'https://thethings.ntutokyottnproject.com/api/v3' oauth: authorize-url: 'https://thethings.ntutokyottnproject.com/oauth/authorize' logout-url: 'https://thethings.ntutokyottnproject.com/oauth/logout' token-url: 'https://thethings.ntutokyottnproject.com/oauth/token' client-id: 'console' client-secret: 'console' # choose or generate a secret (*)