From e95d958b525cd0a448d38753099bbf7a4f30ba90 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Mon, 27 Aug 2018 23:30:53 +0000 Subject: sample config: show how amazon s3 support is activated, including third-party clones like wasabi --- lib/mix/tasks/sample_config.eex | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'lib/mix/tasks') diff --git a/lib/mix/tasks/sample_config.eex b/lib/mix/tasks/sample_config.eex index 6db36fa09..cfb5ef4c0 100644 --- a/lib/mix/tasks/sample_config.eex +++ b/lib/mix/tasks/sample_config.eex @@ -24,3 +24,20 @@ config :pleroma, Pleroma.Repo, database: "pleroma_dev", hostname: "localhost", pool_size: 10 + +# Configure S3 support if desired: +# +# config :pleroma, Pleroma.Upload, +# use_s3: true, +# bucket: "some-bucket" +# +# Configure S3 credentials: +# config :ex_aws, :s3, +# access_key_id: "xxxxxxxxxxxxx", +# secret_access_key: "yyyyyyyyyyyy", +# region: "us-east-1", +# scheme: "https://", +# +# For using third-party S3 clones like wasabi, also do: +# config :ex_aws, :s3, +# host: "s3.wasabisys.com" -- cgit v1.2.3 From 03c35e579ba4804e176b9095186c2cdc0c244331 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Tue, 28 Aug 2018 00:18:24 +0000 Subject: sample config: add S3 public endpoint option --- lib/mix/tasks/sample_config.eex | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'lib/mix/tasks') diff --git a/lib/mix/tasks/sample_config.eex b/lib/mix/tasks/sample_config.eex index cfb5ef4c0..2acf35ed9 100644 --- a/lib/mix/tasks/sample_config.eex +++ b/lib/mix/tasks/sample_config.eex @@ -25,18 +25,21 @@ config :pleroma, Pleroma.Repo, hostname: "localhost", pool_size: 10 -# Configure S3 support if desired: +# Configure S3 support if desired. +# The public S3 endpoint is different depending on region and provider, +# consult your S3 provider's documentation for details on what to use. # # config :pleroma, Pleroma.Upload, # use_s3: true, -# bucket: "some-bucket" +# bucket: "some-bucket", +# public_endpoint: "https://s3.amazonaws.com" # # Configure S3 credentials: # config :ex_aws, :s3, # access_key_id: "xxxxxxxxxxxxx", # secret_access_key: "yyyyyyyyyyyy", # region: "us-east-1", -# scheme: "https://", +# scheme: "https://" # # For using third-party S3 clones like wasabi, also do: # config :ex_aws, :s3, -- cgit v1.2.3