Skip to content

Commit

Permalink
Create config.py
Browse files Browse the repository at this point in the history
  • Loading branch information
christianlouis authored Feb 9, 2025
1 parent da3a180 commit 03d3c0b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions app/config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/usr/bin/env python3

from pydantic import BaseSettings

class Settings(BaseSettings):
admin_username: str
admin_password: str
aws_access_key_id: str
aws_secret_access_key: str
aws_region: str
aws_textract_role_arn: str
database_url: str
redis_url: str

class Config:
env_file = ".env"

settings = Settings()

0 comments on commit 03d3c0b

Please sign in to comment.