Bugfix: add missing option to s3_compatible to support minio (#1134)

minio doesn't work without force_path_style
more info here: https://kevinjalbert.com/rails-activestorage-configuration-for-minio/
This commit is contained in:
Sylvain Dumont 2020-08-11 18:34:06 +02:00 committed by GitHub
parent 2063e248a9
commit 04bce69ded
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,6 +36,7 @@ s3_compatible:
region: <%= ENV.fetch('STORAGE_REGION', '') %> region: <%= ENV.fetch('STORAGE_REGION', '') %>
bucket: <%= ENV.fetch('STORAGE_BUCKET_NAME', '') %> bucket: <%= ENV.fetch('STORAGE_BUCKET_NAME', '') %>
endpoint: <%= ENV.fetch('STORAGE_ENDPOINT', '') %> endpoint: <%= ENV.fetch('STORAGE_ENDPOINT', '') %>
force_path_style: <%= ENV.fetch('STORAGE_FORCE_PATH_STYLE', false) %>
# mirror: # mirror:
# service: Mirror # service: Mirror