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:
parent
eddfcc7337
commit
022a99f753
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue