Update 'face_recognition/app/app.py'
This commit is contained in:
parent
c11283be8f
commit
186ae8525f
@ -8,7 +8,7 @@ def hello_docker():
|
|||||||
|
|
||||||
@app.route('/acces_minio')
|
@app.route('/acces_minio')
|
||||||
def access_minio():
|
def access_minio():
|
||||||
minioClient = Minio('minio:9000', access_key=os.environ['s3-name'], secret_key=os.environ['s3-password'], secure=True)
|
minioClient = Minio('minio:9000', access_key=os.environ['s3-name'], secret_key=os.environ['s3-password'], secure=True)
|
||||||
|
|
||||||
return minioClient.list_buckets()
|
return minioClient.list_buckets()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user