s3 settings
This commit is contained in:
parent
c40e74aad3
commit
c7d67c7a01
|
|
@ -10,3 +10,9 @@ PLANFIX_TOKEN=REQUIRED
|
||||||
# Poetry (Gitlab Auth Token for PyPi)
|
# Poetry (Gitlab Auth Token for PyPi)
|
||||||
POETRY_USERNAME=REQUIRED
|
POETRY_USERNAME=REQUIRED
|
||||||
POETRY_PASSWORD=REQUIRED
|
POETRY_PASSWORD=REQUIRED
|
||||||
|
|
||||||
|
# S3
|
||||||
|
S3_ACCESS_KEY=REQUIRED
|
||||||
|
S3_SECRET_ACCESS_KEY=REQUIRED
|
||||||
|
S3_UPLOAD_FILE_BUCKET=REQUIRED
|
||||||
|
S3_PUBLIC_URL=REQUIRED. Example: https://s3.amazonaws.com/
|
||||||
|
|
|
||||||
|
|
@ -7,5 +7,9 @@ class Settings(BaseSettings):
|
||||||
database_name: Optional[str] = "chain-db"
|
database_name: Optional[str] = "chain-db"
|
||||||
planfix_hostname: str
|
planfix_hostname: str
|
||||||
planfix_token: str
|
planfix_token: str
|
||||||
|
s3_access_key: str
|
||||||
|
s3_secret_access_key: str
|
||||||
|
s3_upload_file_bucket: str
|
||||||
|
s3_public_url: str
|
||||||
|
|
||||||
model_config = SettingsConfigDict(env_file=".env")
|
model_config = SettingsConfigDict(env_file=".env")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user