Exposed more minio configs
continuous-integration/drone/push Build is passing Details

Fixes the same stuff as in model service
This commit is contained in:
Pünkösd Marcell 2020-04-22 00:05:49 +02:00
parent ab7b556e69
commit e1b4b87cc2
1 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,8 @@ app.config['MINIO_ENDPOINT'] = os.environ['MINIO_ENDPOINT']
app.config['MINIO_ACCESS_KEY'] = os.environ['MINIO_ACCESS_KEY']
app.config['MINIO_SECRET_KEY'] = os.environ['MINIO_SECRET_KEY']
app.config['MINIO_BUCKET_NAME'] = os.environ['MINIO_BUCKET_NAME']
app.config['MINIO_SECURE'] = os.environ.get('MINIO_SECURE', False)
app.config['MINIO_REGION'] = os.environ.get('MINIO_REGION', None)
# register error handlers
register_all_error_handlers(app)