summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2024-05-27 15:06:12 +0000
committerlain <lain@soykaf.club>2024-05-27 15:06:12 +0000
commitd11ba9e85bfe44a0f82605a1c0bc588f5e0a48f1 (patch)
tree900615085cc9170c83a66099b502bfcb972092da /docs
parent6757382abec9ca47a9025b8bed61047414cee20f (diff)
parent3055c1598b43ee9460b88880e2752c68e9cf6edb (diff)
downloadpleroma-d11ba9e85bfe44a0f82605a1c0bc588f5e0a48f1.tar.gz
pleroma-d11ba9e85bfe44a0f82605a1c0bc588f5e0a48f1.zip
Merge branch 'ipfs_uploader' into 'develop'
feat: simple, but not stupid, uploader for IPFS See merge request pleroma/pleroma!3654
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration/cheatsheet.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/configuration/cheatsheet.md b/docs/configuration/cheatsheet.md
index 89a461b47..ca2ce6369 100644
--- a/docs/configuration/cheatsheet.md
+++ b/docs/configuration/cheatsheet.md
@@ -661,6 +661,19 @@ config :ex_aws, :s3,
host: "s3.eu-central-1.amazonaws.com"
```
+#### Pleroma.Uploaders.IPFS
+
+* `post_gateway_url`: URL with port of POST Gateway (unauthenticated)
+* `get_gateway_url`: URL of public GET Gateway
+
+Example:
+
+```elixir
+config :pleroma, Pleroma.Uploaders.IPFS,
+ post_gateway_url: "http://localhost:5001",
+ get_gateway_url: "http://{CID}.ipfs.mydomain.com"
+```
+
### Upload filters
#### Pleroma.Upload.Filter.AnonymizeFilename