Update 'face_recognition/app/app.py'
This commit is contained in:
parent
ef136b6c49
commit
c11283be8f
@ -9,6 +9,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()
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Loading…
Reference in New Issue
Block a user