Skip to content

Commit

Permalink
Minor change to enable self hosted MinIO instance compatability
Browse files Browse the repository at this point in the history
  • Loading branch information
KastanDay committed Nov 20, 2024
1 parent b82368e commit 9eb671d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ai_ta_backend/database/aws.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
)
Expand Down

0 comments on commit 9eb671d

Please sign in to comment.