refactor to use pydantic settings and WAL sqlite mode

This commit is contained in:
msramalho
2024-10-18 11:08:51 +01:00
parent 11a8e6f4e0
commit ca7e862855
21 changed files with 246 additions and 135 deletions

7
src/.env.test Normal file
View File

@@ -0,0 +1,7 @@
CHROME_APP_IDS='["test_app_id_1","test_app_id_2"]'
ALLOWED_ORIGINS='["chrome-extension://example1","chrome-extension://example2","http://localhost:8081"]'
BLOCKED_EMAILS='["blocked@example.com"]'
DATABASE_PATH="sqlite:////app/auto-archiver.test.db"
API_BEARER_TOKEN=this_is_the_test_api_token