diff --git a/.gitignore b/.gitignore index 1d926bf..b9aa664 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ dist .pytest_cache node_modules .eslintcache +*.sqlite diff --git a/app/params.py b/app/params.py index 43919b3..701acfa 100644 --- a/app/params.py +++ b/app/params.py @@ -15,8 +15,8 @@ class Parameters: port: int = 5000 workers: int = 4 timeout: int = 120 - db_uri: str = "postgres://localhost:5432/tout-doux" - cache_uri: str = "redis://localhost:6379" + db_uri: str = "sqlite://db.sqlite" + cache_uri: str = "memory://" @classmethod def from_namespace(cls, args: argparse.Namespace) -> Parameters: