arc icon indicating copy to clipboard operation
arc copied to clipboard

minio storage support

Open wahello opened this issue 5 years ago • 1 comments

Please add support minio storage support

wahello avatar Dec 14 '19 02:12 wahello

Minio mimics the AWS api so if you set your config with the correct values it should work.

config :arc,
  storage: Arc.Storage.S3,
  bucket: {:system, "S3_BUCKET"}

config :ex_aws,
  access_key_id: {:system, "AWS_ACCESS_KEY_ID"},
  secret_access_key: {:system, "AWS_SECRET_ACCESS_KEY"},
  region: {:system, "S3_REGION"} || "us-east-1"

config :ex_aws, :s3,
  scheme: {:system, "S3_SCHEME"} || "https://",
  host: {:system, "S3_HOST"} || "s3.amazonaws.com",
  region: {:system, "S3_REGION"} || "us-east-1",
  port: {:system, "S3_PORT"} || 443

jbosse avatar Oct 28 '21 19:10 jbosse