mirror of
https://github.com/khoaliber/LetterFeed.git
synced 2026-03-02 21:19:13 +00:00
fix: disable fastapi api docs in docker
This commit is contained in:
@@ -11,6 +11,11 @@ class Settings(BaseSettings):
|
||||
env_file=".env", extra="ignore", env_prefix="LETTERFEED_", frozen=True
|
||||
)
|
||||
|
||||
production: bool = Field(
|
||||
False,
|
||||
validation_alias=AliasChoices("PRODUCTION", "LETTERFEED_PRODUCTION"),
|
||||
)
|
||||
|
||||
database_url: str = Field(
|
||||
"sqlite:////data/letterfeed.db",
|
||||
validation_alias=AliasChoices("DATABASE_URL", "LETTERFEED_DATABASE_URL"),
|
||||
|
||||
Reference in New Issue
Block a user