diff --git a/docker-compose.yml b/docker-compose.yml index 1101156..65c2a20 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,7 +14,7 @@ services: - DATABASE_URL=postgresql://rnotes:${DB_PASSWORD}@rnotes-postgres:5432/rnotes # IPFS integration (encrypted file storage) - IPFS_ENABLED=true - - IPFS_API_URL=http://ipfs:5001 + - IPFS_API_URL=http://kubo:5001 - IPFS_GATEWAY_URL=https://ipfs.jeffemmett.com volumes: - uploads_data:/app/uploads diff --git a/src/lib/ipfs.ts b/src/lib/ipfs.ts index e6d214f..528a332 100644 --- a/src/lib/ipfs.ts +++ b/src/lib/ipfs.ts @@ -68,7 +68,7 @@ export interface FileMetadata { // ─── IPFS Client ─── -const IPFS_API_URL = process.env.IPFS_API_URL || 'http://ipfs:5001' +const IPFS_API_URL = process.env.IPFS_API_URL || 'http://kubo:5001' const IPFS_GATEWAY_URL = process.env.IPFS_GATEWAY_URL || 'https://ipfs.jeffemmett.com' export function isIPFSEnabled(): boolean {