fix: use kubo container name for IPFS API

Renamed from 'ipfs' to 'kubo' to avoid Docker DNS collision with
the collab-server's IPFS service on the same network.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-03-31 17:57:56 -07:00
parent eddfcc7337
commit 022a99f753
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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 {