diff --git a/config/config.exs b/config/config.exs index eca12f75..913ad41a 100644 --- a/config/config.exs +++ b/config/config.exs @@ -31,6 +31,13 @@ config :vyasa, VyasaWeb.Endpoint, # at the `config/runtime.exs`. config :vyasa, Vyasa.Mailer, adapter: Swoosh.Adapters.Local +#S3 Object Storage Services +config :ex_aws, + access_key_id: [{:system, "AWS_ACCESS_KEY_ID"}, :instance_role], + secret_access_key: [{:system, "AWS_SECRET_ACCESS_KEY"}, :instance_role], + region: "ap-southeast-1", + http_client: Vyasa.Medium.Ext.S3Client + config :live_admin, ecto_repo: Vyasa.Repo # Configure esbuild (the version is required) diff --git a/config/dev.exs b/config/dev.exs index a6ce6f9e..8e6141ce 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -11,12 +11,6 @@ config :vyasa, Vyasa.Repo, pool_size: 10 # MINIO Object Store API Domain -config :ex_aws, - access_key_id: [{:system, "AWS_ACCESS_KEY_ID"}, :instance_role], - secret_access_key: [{:system, "AWS_SECRET_ACCESS_KEY"}, :instance_role], - region: "ap-southeast-1", - http_client: Vyasa.Medium.Ext.S3Client - config :ex_aws, :s3, scheme: "http://", host: "localhost",