summaryrefslogtreecommitdiff
path: root/lib/mix/tasks/sample_config.eex
diff options
context:
space:
mode:
authorkaniini <nenolod@gmail.com>2018-08-28 00:29:49 +0000
committerkaniini <nenolod@gmail.com>2018-08-28 00:29:49 +0000
commit49b165ddc61091fc192e6f8a252c9a02a5fcef2d (patch)
tree0e976ea10a0c83d5cbcd185e54d738117c534c31 /lib/mix/tasks/sample_config.eex
parent5ffaa2bf69679f118af9736d62535cc4eb870709 (diff)
parentd22f66655b0693ebcf9291f7e443a7d7de2d28c6 (diff)
downloadpleroma-49b165ddc61091fc192e6f8a252c9a02a5fcef2d.tar.gz
pleroma-49b165ddc61091fc192e6f8a252c9a02a5fcef2d.zip
Merge branch 'feature/s3' into 'develop'
S3 support Closes #65 See merge request pleroma/pleroma!303
Diffstat (limited to 'lib/mix/tasks/sample_config.eex')
-rw-r--r--lib/mix/tasks/sample_config.eex20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/mix/tasks/sample_config.eex b/lib/mix/tasks/sample_config.eex
index 6db36fa09..2acf35ed9 100644
--- a/lib/mix/tasks/sample_config.eex
+++ b/lib/mix/tasks/sample_config.eex
@@ -24,3 +24,23 @@ config :pleroma, Pleroma.Repo,
database: "pleroma_dev",
hostname: "localhost",
pool_size: 10
+
+# 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",
+# 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://"
+#
+# For using third-party S3 clones like wasabi, also do:
+# config :ex_aws, :s3,
+# host: "s3.wasabisys.com"