Richte Develop-Build und Main-Deploy analog zur Jinkendo-Familie ein.
Deploy Development / deploy (push) Successful in 1m6s
Test Suite / smoke-dev (push) Successful in 0s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-10-03 10:47:48 +02:00
1 parent 94053d7fbe
commit 3ac42645ef
29 files changed
+3047 -3

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
from functools import lru_cache
from pydantic_settings import BaseSettings, SettingsConfigDict
class Settings(BaseSettings):
model_config = SettingsConfigDict(env_file=".env", extra="ignore")
db_host: str = "postgres"
db_port: int = 5432
db_name: str = "buyingagent"
db_user: str = "buyingagent"
db_password: str = "change_me"
environment: str = "development"
engine_build: str = "dev"
@property
def database_url(self) -> str:
return (
f"postgresql+psycopg://{self.db_user}:{self.db_password}"
f"@{self.db_host}:{self.db_port}/{self.db_name}"
)
@lru_cache
def get_settings() -> Settings:
return Settings()