Skip to content

Instantly share code, notes, and snippets.

@lempiy
Created June 2, 2022 10:41
Show Gist options
  • Save lempiy/cfd53cc0dcca38af0bda1a82a607fea7 to your computer and use it in GitHub Desktop.
Save lempiy/cfd53cc0dcca38af0bda1a82a607fea7 to your computer and use it in GitHub Desktop.
IPFS
{
"cluster": {
"peername": "cluster2",
"secret": "",
"leave_on_shutdown": false,
"listen_multiaddress": [
"/ip4/0.0.0.0/tcp/9096",
"/ip4/0.0.0.0/udp/9096/quic"
],
"enable_relay_hop": true,
"connection_manager": {
"high_water": 400,
"low_water": 100,
"grace_period": "2m0s"
},
"dial_peer_timeout": "3s",
"state_sync_interval": "5m0s",
"pin_recover_interval": "12m0s",
"replication_factor_min": -1,
"replication_factor_max": -1,
"monitor_ping_interval": "2s",
"peer_watch_interval": "5s",
"mdns_interval": "10s",
"pin_only_on_trusted_peers": false,
"disable_repinning": true,
"follower_mode": true,
"peer_addresses": [
"/ip4/3.68.71.196/tcp/9096",
"/ip4/3.68.71.196/udp/9096/quic"
]
},
"consensus": {
"crdt": {
"cluster_name": "ipfs-cluster",
"trusted_peers": [
"*"
],
"batching": {
"max_batch_size": 0,
"max_batch_age": "0s"
},
"repair_interval": "1h0m0s"
}
},
"api": {
"ipfsproxy": {
"listen_multiaddress": "/ip4/127.0.0.1/tcp/9095",
"node_multiaddress": "/ip4/127.0.0.1/tcp/5001",
"log_file": "",
"read_timeout": "0s",
"read_header_timeout": "5s",
"write_timeout": "0s",
"idle_timeout": "1m0s",
"max_header_bytes": 4096
},
"pinsvcapi": {
"http_listen_multiaddress": "/ip4/127.0.0.1/tcp/9097",
"read_timeout": "0s",
"read_header_timeout": "5s",
"write_timeout": "0s",
"idle_timeout": "2m0s",
"max_header_bytes": 4096,
"basic_auth_credentials": null,
"http_log_file": "",
"headers": {},
"cors_allowed_origins": [
"*"
],
"cors_allowed_methods": [
"GET"
],
"cors_allowed_headers": [],
"cors_exposed_headers": [
"Content-Type",
"X-Stream-Output",
"X-Chunked-Output",
"X-Content-Length"
],
"cors_allow_credentials": true,
"cors_max_age": "0s"
},
"restapi": {
"http_listen_multiaddress": "/ip4/0.0.0.0/tcp/9094",
"read_timeout": "0s",
"read_header_timeout": "5s",
"write_timeout": "0s",
"idle_timeout": "2m0s",
"max_header_bytes": 4096,
"basic_auth_credentials": null,
"http_log_file": "",
"headers": {},
"cors_allowed_origins": [
"*"
],
"cors_allowed_methods": [
"GET"
],
"cors_allowed_headers": [],
"cors_exposed_headers": [
"Content-Type",
"X-Stream-Output",
"X-Chunked-Output",
"X-Content-Length"
],
"cors_allow_credentials": true,
"cors_max_age": "0s"
}
},
"ipfs_connector": {
"ipfshttp": {
"node_multiaddress": "/dns4/ipfs0/tcp/5001",
"connect_swarms_delay": "30s",
"ipfs_request_timeout": "5m0s",
"pin_timeout": "2m0s",
"unpin_timeout": "3h0m0s",
"repogc_timeout": "24h0m0s",
"informer_trigger_interval": 0
}
},
"pin_tracker": {
"stateless": {
"concurrent_pins": 10,
"priority_pin_max_age": "24h0m0s",
"priority_pin_max_retries": 5
}
},
"monitor": {
"pubsubmon": {
"check_interval": "15s"
}
},
"allocator": {
"balanced": {
"allocate_by": [
"tag:group",
"freespace"
]
}
},
"informer": {
"disk": {
"metric_ttl": "30s",
"metric_type": "freespace"
},
"pinqueue": {
"metric_ttl": "30s",
"weight_bucket_size": 100000
},
"tags": {
"metric_ttl": "30s",
"tags": {
"group": "default"
}
}
},
"observations": {
"metrics": {
"enable_stats": false,
"prometheus_endpoint": "/ip4/127.0.0.1/tcp/8888",
"reporting_interval": "2s"
},
"tracing": {
"enable_tracing": false,
"jaeger_agent_endpoint": "/ip4/0.0.0.0/udp/6831",
"sampling_prob": 0.3,
"service_name": "cluster-daemon"
}
},
"datastore": {
"leveldb": {
"leveldb_options": {
"block_cache_capacity": 0,
"block_cache_evict_removed": false,
"block_restart_interval": 0,
"block_size": 0,
"compaction_expand_limit_factor": 0,
"compaction_gp_overlaps_factor": 0,
"compaction_l0_trigger": 0,
"compaction_source_limit_factor": 0,
"compaction_table_size": 0,
"compaction_table_size_multiplier": 0,
"compaction_table_size_multiplier_per_level": null,
"compaction_total_size": 0,
"compaction_total_size_multiplier": 0,
"compaction_total_size_multiplier_per_level": null,
"compression": 0,
"disable_buffer_pool": false,
"disable_block_cache": false,
"disable_compaction_backoff": false,
"disable_large_batch_transaction": false,
"iterator_sampling_rate": 0,
"no_sync": false,
"no_write_merge": false,
"open_files_cache_capacity": 0,
"read_only": false,
"strict": 0,
"write_buffer": 0,
"write_l0_pause_trigger": 0,
"write_l0_slowdown_trigger": 0
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment