jamesjmeyer210 / simple-auth

0 stars 0 forks source link

Add General App Configuration File #21

Closed jamesjmeyer210 closed 9 months ago

jamesjmeyer210 commented 9 months ago

The global configuration should have the following properties:

Server:

{
  "domain": "localhost", // default
  "port": 7777, // default
  "threads": null, // defaults to actix-web default
  "workers": null, // defaults to actix-web default
}

Database:

{
  "in_memory": false, // default
  "path": "db.sqlite", // default
}

Log:

{
  "configuration": "logcfg.yaml"
}