feat: initial IPFS Portal — Next.js frontend for remote IPFS node management

Multi-file upload with Quick Upload + Crypto Payment tabs.
Dashboard with live IPFS metrics, Explorer, Peers, Pins, History, Settings pages.
Docker deploy (standalone output), full test suite (16 Playwright tests).
Payment integration via IPFSPortalPayment + MockUSDC contracts on zkSync.
This commit is contained in:
maikrolf
2026-06-25 19:47:57 +02:00
commit 1ddc89479c
42 changed files with 8383 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
# ── IPFS Portal — Multi-stage Docker Build ──
# ---- Build ----
FROM node:22-alpine AS builder
WORKDIR /app
ENV DOCKER_BUILD=true
COPY package.json package-lock.json ./
RUN npm ci
COPY . .
RUN npm run build
# ---- Production ----
FROM node:22-alpine
WORKDIR /app
ENV NODE_ENV=production
ENV NEXT_TELEMETRY_DISABLED=1
# Copy standalone output from builder
COPY --from=builder /app/.next/standalone ./
COPY --from=builder /app/.next/static ./.next/static
COPY --from=builder /app/public ./public
ENV PORT=3445
EXPOSE 3445
CMD ["node", "server.js"]