fix configs

This commit is contained in:
user committed 2025-09-19 19:36:50 +03:00
1 parent fe793bf978
commit 68ed014b74
2 files changed
+11 -1

No files matched your search

+3
View File
@@ -17,6 +17,9 @@ ipfs config --json Reprovider '{ "Interval": "22h", "Strategy": "pinned+mfs" }'
# Keep connection manager within reasonable bounds
ipfs config --json Swarm.ConnMgr '{ "Type": "basic", "LowWater": 50, "HighWater": 200, "GracePeriod": "20s" }'
# Disable public AutoConf when running with a private swarm key
ipfs config AutoConf.Enabled false
# CORS for RPC API (visible only in docker network)
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["*"]'
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '["PUT","POST","GET"]'