2021-07-21 23:04:00 +00:00
|
|
|
---
|
2022-01-31 16:17:19 +00:00
|
|
|
name: "IndieAuth"
|
2021-10-17 23:31:38 +00:00
|
|
|
runMode: "dev"
|
2021-07-21 23:04:00 +00:00
|
|
|
server:
|
2021-10-17 23:31:38 +00:00
|
|
|
certFile: "https/cert.pem"
|
2022-01-31 16:17:19 +00:00
|
|
|
domain: "localhost"
|
2021-10-17 23:31:38 +00:00
|
|
|
enablePprof: false
|
2022-01-31 16:17:19 +00:00
|
|
|
host: "0.0.0.0"
|
|
|
|
keyFile: "https/key.pem"
|
|
|
|
port: 3000
|
|
|
|
protocol: "http"
|
|
|
|
rootUrl: "{{protocol}}://{{domain}}:{{port}}/"
|
|
|
|
staticRootPath: "assets/"
|
|
|
|
staticUrlPrefix: "/static"
|
2021-10-17 23:31:38 +00:00
|
|
|
database:
|
2022-01-31 16:17:19 +00:00
|
|
|
type: "memory"
|
|
|
|
# path: "data/development.db"
|
|
|
|
code:
|
|
|
|
expiry: "10m"
|
|
|
|
length: 32
|
|
|
|
jwt:
|
|
|
|
algorithm: "RS256"
|
|
|
|
expiry: "1h"
|
|
|
|
nonceLength: 24
|
|
|
|
secret: "hackme"
|
|
|
|
indieAuth:
|
2021-10-17 23:31:38 +00:00
|
|
|
enabled: true
|
2022-01-31 16:17:19 +00:00
|
|
|
username: user
|
|
|
|
password: hackme
|
|
|
|
ticketAuth:
|
|
|
|
expiry: "1m"
|
|
|
|
length: 24
|