diff --git a/docs/cli.md b/docs/cli.md index 230a0667e..56c8ab4f3 100644 --- a/docs/cli.md +++ b/docs/cli.md @@ -1,5 +1,6 @@ # Commands + ::: mkdocs-click :module: warren.cli :command: cli diff --git a/docs/pyproject.toml b/docs/pyproject.toml index 565f7e8ba..166078bad 100644 --- a/docs/pyproject.toml +++ b/docs/pyproject.toml @@ -33,6 +33,7 @@ dependencies = [ "mkdocs==1.6.0", "neoteroi-mkdocs==1.0.5", "pymdown-extensions==10.8.1", + "warren-api==0.5.0", ] [project.urls] diff --git a/src/api/core/warren/conf.py b/src/api/core/warren/conf.py index cfb9b33b0..8eca7bfa9 100644 --- a/src/api/core/warren/conf.py +++ b/src/api/core/warren/conf.py @@ -22,9 +22,9 @@ class Settings(BaseSettings): DEBUG: bool = False # LRS backend - LRS_HOSTS: Union[List[AnyHttpUrl], AnyHttpUrl] - LRS_AUTH_BASIC_USERNAME: str - LRS_AUTH_BASIC_PASSWORD: str + LRS_HOSTS: Union[List[AnyHttpUrl], AnyHttpUrl] = "http://ralph:8200" + LRS_AUTH_BASIC_USERNAME: str = "ralph" + LRS_AUTH_BASIC_PASSWORD: str = "secret" # Warren server SERVER_PROTOCOL: str = "http" @@ -65,8 +65,8 @@ class Settings(BaseSettings): API_TEST_DB_NAME: str = "test-warren-api" # Token - APP_SIGNING_ALGORITHM: str - APP_SIGNING_KEY: str + APP_SIGNING_ALGORITHM: str = "HS256" + APP_SIGNING_KEY: str = "SigningKeyToChange__NOT_SUITABLE_FOR_PRODUCTION" # Sentry SENTRY_DSN: Optional[str] = None