Skip to content

Commit

Permalink
fix: add database config to assertoor (#783)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pk910 authored Oct 1, 2024
1 parent 8513c06 commit 56532cf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions static_files/assertoor-config/config.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ web:
api:
enabled: true

database:
engine: "sqlite"
sqlite:
file: "/assertoor-database.sqlite"

validatorNames:
inventoryYaml: "/validator-ranges/validator-ranges.yaml"

Expand Down

0 comments on commit 56532cf

Please sign in to comment.