Skip to content
This repository has been archived by the owner on Dec 31, 2024. It is now read-only.

Commit

Permalink
Remove unused environment variables related to
Browse files Browse the repository at this point in the history
MinIO
  • Loading branch information
ReinderVosDeWael committed Nov 10, 2023
1 parent d113cce commit cedd6ed
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
2 changes: 0 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
LWAPI_OPENAI_API_KEY=fake_key
LWAPI_MINIO_ROOT_USER=fake_user
LWAPI_MINIO_ROOT_PASSWORD=fake_password
21 changes: 0 additions & 21 deletions src/linguaweb_api/core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,27 +49,6 @@ class Config:
json_schema_extra={"env": "POSTGRES_PASSWORD"},
)

MINIO_HOST: str = pydantic.Field(
"localhost",
json_schema_extra={"env": "MINIO_HOST"},
)
MINIO_PORT: int = pydantic.Field(
9000,
json_schema_extra={"env": "MINIO_PORT"},
)
MINIO_ROOT_USER: pydantic.SecretStr = pydantic.Field(
...,
json_schema_extra={"env": "MINIO_ROOT_USER"},
)
MINIO_ROOT_PASSWORD: pydantic.SecretStr = pydantic.Field(
...,
json_schema_extra={"env": "MINIO_ROOT_PASSWORD"},
)
MINIO_BUCKET: str = pydantic.Field(
"linguaweb",
json_schema_extra={"env": "MINIO_BUCKET"},
)


@functools.lru_cache
def get_settings() -> Settings:
Expand Down

0 comments on commit cedd6ed

Please sign in to comment.