add azure blob storage (#4338)
Signed-off-by: Benji Visser <benji@093b.org> Co-authored-by: Benji Visser <benji@093b.org> Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
This commit is contained in:
@@ -87,23 +87,26 @@ class Settings(BaseSettings):
|
||||
|
||||
# Artifact storage settings
|
||||
ARTIFACT_STORAGE_PATH: str = f"{SKYVERN_DIR}/artifacts"
|
||||
GENERATE_PRESIGNED_URLS: bool = False
|
||||
|
||||
# Supported storage types: local, s3cloud, azureblob
|
||||
SKYVERN_STORAGE_TYPE: str = "local"
|
||||
|
||||
# S3/AWS settings
|
||||
AWS_REGION: str = "us-east-1"
|
||||
MAX_UPLOAD_FILE_SIZE: int = 10 * 1024 * 1024 # 10 MB
|
||||
PRESIGNED_URL_EXPIRATION: int = 60 * 60 * 24 # 24 hours
|
||||
AWS_S3_BUCKET_ARTIFACTS: str = "skyvern-artifacts"
|
||||
AWS_S3_BUCKET_SCREENSHOTS: str = "skyvern-screenshots"
|
||||
AWS_S3_BUCKET_BROWSER_SESSIONS: str = "skyvern-browser-sessions"
|
||||
|
||||
# Supported storage types: local, s3
|
||||
SKYVERN_STORAGE_TYPE: str = "local"
|
||||
|
||||
# S3 bucket settings
|
||||
AWS_REGION: str = "us-east-1"
|
||||
AWS_S3_BUCKET_UPLOADS: str = "skyvern-uploads"
|
||||
MAX_UPLOAD_FILE_SIZE: int = 10 * 1024 * 1024 # 10 MB
|
||||
PRESIGNED_URL_EXPIRATION: int = 60 * 60 * 24 # 24 hours
|
||||
|
||||
# Azure Blob Storage settings
|
||||
AZURE_STORAGE_ACCOUNT_NAME: str | None = None
|
||||
AZURE_STORAGE_ACCOUNT_KEY: str | None = None
|
||||
AZURE_STORAGE_CONTAINER_ARTIFACTS: str = "skyvern-artifacts"
|
||||
AZURE_STORAGE_CONTAINER_SCREENSHOTS: str = "skyvern-screenshots"
|
||||
AZURE_STORAGE_CONTAINER_BROWSER_SESSIONS: str = "skyvern-browser-sessions"
|
||||
AZURE_STORAGE_CONTAINER_UPLOADS: str = "skyvern-uploads"
|
||||
|
||||
SKYVERN_TELEMETRY: bool = True
|
||||
ANALYTICS_ID: str = "anonymous"
|
||||
|
||||
Reference in New Issue
Block a user