diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..07152bf --- /dev/null +++ b/.env.example @@ -0,0 +1,2 @@ +GOOGLE_PROJECT_ID=seu-projeto-id +GOOGLE_LOCATION=us-central1 diff --git a/app/core/settings.py b/app/core/settings.py new file mode 100644 index 0000000..71448a5 --- /dev/null +++ b/app/core/settings.py @@ -0,0 +1,12 @@ +from pydantic_settings import BaseSettings + + +class Settings(BaseSettings): + google_project_id: str + google_location: str = "us-central1" + + class Config: + env_file = ".env" + + +settings = Settings()