22 lines
664 B
Python
22 lines
664 B
Python
from pydantic_settings import BaseSettings
|
|
|
|
|
|
class Settings(BaseSettings):
|
|
database_url: str
|
|
redis_url: str = "redis://localhost:6379"
|
|
anthropic_api_key: str
|
|
frontend_url: str = "http://localhost:3001"
|
|
truth_social_rss: str = "https://truthsocial.com/@realDonaldTrump.rss"
|
|
truth_social_poll_seconds: int = 15
|
|
binance_ws_url: str = (
|
|
"wss://data-stream.binance.vision/stream"
|
|
"?streams=btcusdt@kline_1m/ethusdt@kline_1m"
|
|
)
|
|
binance_rest_url: str = "https://data-api.binance.vision"
|
|
environment: str = "development"
|
|
|
|
model_config = {"env_file": ".env", "env_file_encoding": "utf-8"}
|
|
|
|
|
|
settings = Settings()
|