feature: add scheduler
This commit is contained in:
18
services/ingest-service/app/config.py
Normal file
18
services/ingest-service/app/config.py
Normal file
@@ -0,0 +1,18 @@
|
||||
import os
|
||||
from pydantic_settings import BaseSettings
|
||||
|
||||
class Settings(BaseSettings):
|
||||
DATABASE_URL: str
|
||||
S3_ENDPOINT_URL: str
|
||||
AWS_ACCESS_KEY_ID: str
|
||||
AWS_SECRET_ACCESS_KEY: str
|
||||
AWS_REGION: str
|
||||
S3_BUCKET_NAME: str
|
||||
MAX_RETRIES: int
|
||||
RETRY_DELAY: int
|
||||
|
||||
# class Config:
|
||||
# env_file = ".env"
|
||||
# env_file_encoding = "utf-8"
|
||||
|
||||
settings = Settings()
|
||||
Reference in New Issue
Block a user