0
0
{
"name": "hono-backend",
"description": "oauth-qr backend",
"options": {
"addr": {
"type": "string",
"description": "Address to listen on; keep it loopback behind the Caddy edge",
"env": "ADDR",
"default": "127.0.0.1"
},
"port": {
"type": "number",
"description": "TCP port to listen on (0 = an ephemeral port; see port-file)",
"env": "PORT",
"default": 5557
},
"tls-cert-file": {
"type": "string",
"description": "PEM certificate to serve TLS with; requires tls-key-file",
"env": "TLS_CERT_FILE"
},
"tls-key-file": {
"type": "string",
"description": "PEM private key to serve TLS with; requires tls-cert-file",
"env": "TLS_KEY_FILE"
},
"port-file": {
"type": "string",
"description": "File the bound TCP port is written to once listening (used with port 0)",
"env": "PORT_FILE",
"default": "./port-bound-to"
},
"link-ttl-seconds": {
"type": "number",
"description": "Seconds (1 to 300) a session-transfer link stays usable after the device first polls it",
"env": "LINK_TTL_SECONDS",
"default": 300
},
"plc-url": {
"type": "string",
"description": "PLC directory that resolves did:plc identities",
"env": "PLC_URL",
"default": "https://plc.directory"
},
"network-origins": {
"type": "string",
"description": "Comma-separated https origins (port 443) of the operator's own network, its PDS public URLs, that may resolve to private addresses; like plc-url they skip the public-address check. Their CA goes in DENO_CERT",
"env": "NETWORK_ORIGINS",
"default": ""
},
"insecure-loopback-identity": {
"type": "boolean",
"description": "Allow http and loopback or IP-literal hosts for PLC, PDS and DID fetches (tests only; requires a loopback addr)",
"env": "INSECURE_LOOPBACK_IDENTITY",
"default": false
},
"service-did": {
"type": "string",
"description": "did:web this service answers as; the aud every device service auth token must name",
"env": "SERVICE_DID",
"default": "did:web:qr.fedfork.com"
}
}
}