Add default to database url

This commit is contained in:
Gabriel Augendre 2022-10-31 09:15:44 +01:00
parent 097074bac5
commit 05d3ff455d

View file

@ -17,7 +17,7 @@ env = environ.Env(
LOG_LEVEL=(str, "DEBUG"), LOG_LEVEL=(str, "DEBUG"),
LOG_FORMAT=(str, "default"), LOG_FORMAT=(str, "default"),
APP_DATA=(Path, PROJECT_ROOT / "data"), APP_DATA=(Path, PROJECT_ROOT / "data"),
DATABASE_URL=str, DATABASE_URL=(str, "sqlite:////app/db/db.sqlite3"),
) )
env_file = os.getenv("ENV_FILE", None) env_file = os.getenv("ENV_FILE", None)