Unify IPFS access to use IPFS_API consistently
All IPFS operations now use IPFS_API (multiaddr format) instead of separate IPFS_GATEWAY config. This fixes effect loading in Docker where the gateway URL defaulted to localhost. - Add tests for effect loading and IPFS configuration - Simplify docker-compose.yml (remove IPFS_GATEWAY) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -50,6 +50,7 @@ services:
|
||||
environment:
|
||||
- REDIS_URL=redis://redis:6379/5
|
||||
- DATABASE_URL=postgresql://artdag:artdag@postgres:5432/artdag
|
||||
# IPFS_API multiaddr - used for all IPFS operations (add, cat, pin)
|
||||
- IPFS_API=/dns/ipfs/tcp/5001
|
||||
- CACHE_DIR=/data/cache
|
||||
# Set IPFS_PRIMARY=true to use IPFS-primary mode (everything on IPFS, no local cache)
|
||||
@@ -78,6 +79,7 @@ services:
|
||||
environment:
|
||||
- REDIS_URL=redis://redis:6379/5
|
||||
- DATABASE_URL=postgresql://artdag:artdag@postgres:5432/artdag
|
||||
# IPFS_API multiaddr - used for all IPFS operations (add, cat, pin)
|
||||
- IPFS_API=/dns/ipfs/tcp/5001
|
||||
- CACHE_DIR=/data/cache
|
||||
- C_FORCE_ROOT=true
|
||||
|
||||
Reference in New Issue
Block a user