sample config: add S3 public endpoint option
authorWilliam Pitcock <nenolod@dereferenced.org>
Tue, 28 Aug 2018 00:18:24 +0000 (00:18 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Tue, 28 Aug 2018 00:18:24 +0000 (00:18 +0000)
lib/mix/tasks/sample_config.eex

index cfb5ef4c0084f46ff7bd5854964060b2a63cc9d5..2acf35ed934fabe201b01da72b5e7ef3301efbef 100644 (file)
@@ -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,