Commit 56532cf5 authored by pk910's avatar pk910 Committed by GitHub

fix: add database config to assertoor (#783)

this adds the database section to the assertoor config.
assertoor falls back to an in memory database if the database section is
left out.
however, the in memory database caused issues with dora earlier, so it's
better to use a non persistent file.
parent 8513c060
...@@ -23,6 +23,11 @@ web: ...@@ -23,6 +23,11 @@ web:
api: api:
enabled: true enabled: true
database:
engine: "sqlite"
sqlite:
file: "/assertoor-database.sqlite"
validatorNames: validatorNames:
inventoryYaml: "/validator-ranges/validator-ranges.yaml" inventoryYaml: "/validator-ranges/validator-ranges.yaml"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment