From: William Pitcock Date: Mon, 27 Aug 2018 23:30:53 +0000 (+0000) Subject: sample config: show how amazon s3 support is activated, including third-party clones... X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=e95d958b525cd0a448d38753099bbf7a4f30ba90;p=akkoma sample config: show how amazon s3 support is activated, including third-party clones like wasabi --- diff --git a/config/config.exs b/config/config.exs index eaf20e8f9..d234d23eb 100644 --- a/config/config.exs +++ b/config/config.exs @@ -12,7 +12,9 @@ config :pleroma, Pleroma.Repo, types: Pleroma.PostgresTypes config :pleroma, Pleroma.Upload, uploads: "uploads", - strip_exif: false + strip_exif: false, + use_s3: false, + s3_bucket: nil config :pleroma, :emoji, shortcode_globs: ["/emoji/custom/**/*.png"] 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"