diff --git a/ai_ta_backend/database/aws.py b/ai_ta_backend/database/aws.py index 68e61b68..9d2d46ed 100644 --- a/ai_ta_backend/database/aws.py +++ b/ai_ta_backend/database/aws.py @@ -11,6 +11,7 @@ def __init__(self): # S3 self.s3_client = boto3.client( 's3', + endpoint_url=os.environ.get('MINIO_API_URL'), # for Self hosted MinIO bucket aws_access_key_id=os.environ['AWS_ACCESS_KEY_ID'], aws_secret_access_key=os.environ['AWS_SECRET_ACCESS_KEY'], )