fix configs

This commit is contained in:
user committed 2025-09-20 22:15:09 +03:00
1 parent 68ed014b74
commit 9f2e746163
2 files changed
+23 -2

No files matched your search

+1 -2
View File
@@ -18,11 +18,10 @@ ipfs config --json Reprovider '{ "Interval": "22h", "Strategy": "pinned+mfs" }'
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
ipfs config --json 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"]'
echo "IPFS init script applied"