You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# dont add provider records to the dht
ipfs config --json Experimental.StrategicProviding true# maybe have go faster dht... but makes it unusable for the first 5 mins!! https://github.com/ipfs/kubo/blob/master/docs/experimental-features.md#accelerated-dht-client
ipfs config --json Experimental.AcceleratedDHTClient true# as per gateways
ipfs config --json Swarm.DisableBandwidthMetrics true# no MDNS plz
ipfs config --json Discovery.MDNS.Enabled false# plz fail early if bits get flipped in blockstore
ipfs config --json Datastore.HashOnRead true
if we want auto GC-ing then... but might be better to just do it manually.
# Gotta GC, set with reference to the ephemeral storage available
ipfs config --json Datastore.StorageMax "200GB"
ipfs config --json Datastore.StorageGCWatermark "50"
ipfs config --json Datastore."GCPeriod" "10m"
# Maybe manually GC after each upload as well.
The text was updated successfully, but these errors were encountered:
- Adds a dockerfile to init kubo with customised config.
- Forces platform to amd64 for images intended to run in ECS. I can't see a way to configure aws-cdk to set the platform when building, so we have to force it in the docker file. Thanks to https://stackoverflow.com/a/70614305/6490163fixes#9fixes#21
License: MIT
Signed-off-by: Oli Evans <[email protected]>
- Adds a dockerfile to init kubo with customised config.
- Updating sst and aws-sdk-lib so we can set the platform per aws/aws-cdk#20563
- Without this, the images built locally are platform dependant, and will fail if built from, say, and an `arm64` machine.
fixes#9fixes#21
License: MIT
Signed-off-by: Oli Evans <[email protected]>
For this we will need to provide ipfs as a custom dockerfile, same as we do for the pickup worker image here https://github.com/olizilla/pickup/blob/65a1d9b1b20201119f80a9fe659455b394091e7a/stacks/PickupStack.ts#L14
An example of setting up your ipfs node from a container init script is here
https://github.com/ipfs-shipyard/go-ipfs-docker-examples/blob/main/gateway/Dockerfile
Some config changes to make
if we want auto GC-ing then... but might be better to just do it manually.
The text was updated successfully, but these errors were encountered: