-
Notifications
You must be signed in to change notification settings - Fork 74
feat(ipfs): multi-protocol ArNS + read-only IPFS gateway (Phases 1–2) #793
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from 37 commits
ea9fd84
7a8f322
ddd1bc5
9e6c030
ffd5ee2
52ab93c
967cc13
2f48d0e
a5ceb2e
04fcc12
c7e4b4a
c76642e
ffa34cd
d383ca2
241ca26
27316b1
fd40337
f0c6732
dc35a10
ca79d91
e7f3608
c7fe209
3af307a
4f3207d
3dbc5ab
c9f9024
6e21bfd
4d018d0
161dbff
3a5a7b2
029c73e
485ea22
97ea1a6
4457bbe
824fbf6
3a99778
abc1087
e03da75
c2b58df
e5bea62
4577251
64e7419
43bdbe1
1eb4b8a
4926836
0d7d552
d0fa6b7
dc733af
88cd856
69b2f87
53c7ba6
a5e2ed0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,3 +18,5 @@ node_modules/ | |
| # Test | ||
| test/ | ||
| coverage/ | ||
| .claude/ | ||
| logs/ | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -54,6 +54,7 @@ services: | |
| - ${HEADERS_DATA_PATH:-./data/headers}:/app/data/headers | ||
| - ${SQLITE_DATA_PATH:-./data/sqlite}:/app/data/sqlite | ||
| - ${DUCKDB_DATA_PATH:-./data/duckdb}:/app/data/duckdb | ||
| - ${IPFS_CACHE_DATA_PATH:-./data/ipfs-cache}:/app/data/ipfs-cache | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🩺 Stability & Availability | 🟠 Major | ⚡ Quick win Align the cache volume with the documented runtime path. The host path uses As per coding guidelines, keep environment variables and 🤖 Prompt for AI AgentsSource: Coding guidelines |
||
| - ${TEMP_DATA_PATH:-./data/tmp}:/app/data/tmp | ||
| - ${LMDB_DATA_PATH:-./data/lmdb}:/app/data/lmdb | ||
| - ${PARQUET_DATA_PATH:-./data/parquet}:/app/data/parquet | ||
|
|
@@ -152,6 +153,23 @@ services: | |
| - RATE_LIMITER_IP_REFILL_PER_SEC=${RATE_LIMITER_IP_REFILL_PER_SEC:-} | ||
| - RATE_LIMITER_IPS_AND_CIDRS_ALLOWLIST=${RATE_LIMITER_IPS_AND_CIDRS_ALLOWLIST:-} | ||
| - RATE_LIMITER_ARNS_ALLOWLIST=${RATE_LIMITER_ARNS_ALLOWLIST:-} | ||
| - IPFS_ENABLED=${IPFS_ENABLED:-false} | ||
| - IPFS_KUBO_URL=${IPFS_KUBO_URL:-http://kubo:8080} | ||
| - IPFS_KUBO_REQUEST_TIMEOUT_MS=${IPFS_KUBO_REQUEST_TIMEOUT_MS:-} | ||
| - IPFS_STREAM_STALL_TIMEOUT_MS=${IPFS_STREAM_STALL_TIMEOUT_MS:-} | ||
| - IPFS_KUBO_MAX_CONCURRENT_REQUESTS=${IPFS_KUBO_MAX_CONCURRENT_REQUESTS:-} | ||
| - IPFS_KUBO_API_URL=${IPFS_KUBO_API_URL:-} | ||
| - IPFS_PIN_ARNS_CONTENT=${IPFS_PIN_ARNS_CONTENT:-} | ||
| - IPFS_PIN_MAX=${IPFS_PIN_MAX:-} | ||
| - IPFS_RATE_LIMIT_UNKNOWN_SIZE_BYTES=${IPFS_RATE_LIMIT_UNKNOWN_SIZE_BYTES:-} | ||
| - IPFS_CACHE_PATH=${IPFS_CACHE_PATH:-} | ||
| - IPFS_CACHE_MAX_SIZE_BYTES=${IPFS_CACHE_MAX_SIZE_BYTES:-} | ||
| - IPFS_CACHE_CLEANUP_THRESHOLD_SECONDS=${IPFS_CACHE_CLEANUP_THRESHOLD_SECONDS:-} | ||
| - IPFS_RATE_LIMITER_IP_TOKENS_PER_BUCKET=${IPFS_RATE_LIMITER_IP_TOKENS_PER_BUCKET:-} | ||
| - IPFS_RATE_LIMITER_IP_REFILL_PER_SEC=${IPFS_RATE_LIMITER_IP_REFILL_PER_SEC:-} | ||
| - IPFS_RATE_LIMITER_RESOURCE_TOKENS_PER_BUCKET=${IPFS_RATE_LIMITER_RESOURCE_TOKENS_PER_BUCKET:-} | ||
| - IPFS_RATE_LIMITER_RESOURCE_REFILL_PER_SEC=${IPFS_RATE_LIMITER_RESOURCE_REFILL_PER_SEC:-} | ||
| - IPFS_MAX_RESPONSE_SIZE_BYTES=${IPFS_MAX_RESPONSE_SIZE_BYTES:-} | ||
| - NODE_MAX_OLD_SPACE_SIZE=${NODE_MAX_OLD_SPACE_SIZE:-} | ||
| - ENABLE_FS_HEADER_CACHE_CLEANUP=${ENABLE_FS_HEADER_CACHE_CLEANUP:-} | ||
| - ON_DEMAND_RETRIEVAL_ORDER=${ON_DEMAND_RETRIEVAL_ORDER:-} | ||
|
|
@@ -723,6 +741,22 @@ services: | |
| networks: | ||
| - ar-io-network | ||
|
|
||
| kubo: | ||
| image: ipfs/kubo:${KUBO_IMAGE_TAG:-v0.32.1} | ||
| profiles: | ||
| - ipfs | ||
| restart: unless-stopped | ||
| ports: | ||
| - '${IPFS_SWARM_PORT:-4001}:4001/tcp' | ||
| - '${IPFS_SWARM_PORT:-4001}:4001/udp' | ||
| environment: | ||
| - IPFS_PROFILE=${IPFS_PROFILE:-server} | ||
| volumes: | ||
| - ${IPFS_DATA_PATH:-./data/ipfs}:/data/ipfs | ||
| networks: | ||
| - ar-io-network | ||
| command: ['daemon', '--enable-gc'] | ||
|
|
||
| autoheal: | ||
| image: willfarrell/autoheal@sha256:fd2c5500ab9210be9fa0d365162301eb0d16923f1d9a36de887f5d1751c6eb8c | ||
| network_mode: none | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.