Commit Graph
33 Commits
Author SHA1 Message Date
ypratama 996f685065 Fix: Server action getAgents now correctly falls back to environment KNOWN_SITES when SITE_UUID is all 2026-09-02 13:55:23 +07:00
ypratama f61270ddc5 Clean: Remove temporary HTTP logger that was causing ENOENT in production 2026-09-02 12:12:48 +07:00
ypratama e28bfbb022 Fix: Fallback to singular BACKONE_SITE_UUID env var if plural is missing 2026-09-02 12:06:01 +07:00
ypratama 763970c774 Revert: Keep old INTERNAL_API_URL default to respect Swarm environment variable overrides 2026-09-02 11:53:14 +07:00
ypratama b34ea00bcd Fix: Update INTERNAL_API_URL to match compose service name, and fix KNOWN_SITES filtering for all agents 2026-09-02 11:50:09 +07:00
ypratama 68c176f972 Fix: Change localhost to 127.0.0.1 in backend healthchecks to bypass Node IPv6 resolution issue with 0.0.0.0 bind 2026-09-02 11:21:26 +07:00
ypratama d492adb1ff Feat: Auto-resolve backend API base URL so Swarm redeploys no longer break proxied requests (fetch failed) 2026-09-02 11:15:16 +07:00
ypratama 856acdb6da Fix: Unknown site_uuid no longer filters all data out, so overview dashboard always shows charts 2026-09-02 09:23:38 +07:00
ypratama 450a8a5daa Fix: Bind backend to 0.0.0.0 in Docker to fix healthcheck failures and frontend proxy connection refused errors 2026-09-01 11:27:59 +07:00
ypratama 35f1838c4e Fix: Combro resolved remaining bugs in summary.js and agents.js where site_uuid all was mishandled causing empty overview dashboards 2026-09-01 11:10:33 +07:00
ypratama cd93a40104 Fix: Prevent backend from returning empty data when site_uuid is all 2026-09-01 09:40:51 +07:00
ypratama 350234d379 Fix: Re-add NETIFY to BACKONE variable mapping in compose file so Portainer pulls work with old images 2026-09-01 09:17:03 +07:00
ypratama 0afcc07642 Fix: Revert MongoDB connection logic to respect API key prefix to avoid network isolation issues in Swarm deployments 2026-08-28 17:04:33 +07:00
ypratama 0d4802f14a Fix: Prevent getAgents Server Action from throwing to avoid Next.js Server Component render crashes 2026-08-28 16:59:18 +07:00
ypratama 2be8b08074 Feat: Natively support NETIFY environment variables and improve MongoDB detection based on URI presence 2026-08-28 16:43:00 +07:00
ypratama eedaa588b5 Fix: Add JWT_SECRET to frontend environment to fix authentication in Server Actions 2026-08-28 15:53:08 +07:00
ypratama 793624a330 Fix: Pass required backend environment variables to frontend service in docker-compose.prod.yml to prevent Server Components crash 2026-08-28 15:41:46 +07:00
ypratama beb80579f0 Fix: Ignore ALL .env files in Docker build to guarantee clean image 2026-08-28 11:50:39 +07:00
ypratama 7bfd1d831c Fix: Remove hardcoded rewrites in next.config.ts that hijacked API routes 2026-08-28 11:27:38 +07:00
ypratama 9c88561266 Fix: Add .dockerignore to prevent .env.local from polluting Docker build 2026-08-28 11:20:27 +07:00
ypratama 2115f406b8 Fix: use INTERNAL_API_URL for runtime backend URL (NEXT_PUBLIC_ is baked at build time) 2026-08-28 11:11:53 +07:00
ypratama 60cd973dc8 Add .env.production.example as setup guide 2026-08-28 11:01:11 +07:00
ypratama bfffd7f68a Secure docker-compose.prod.yml with variable substitution and add .env.production.example 2026-08-28 11:00:29 +07:00
ypratama e1406c20ca Add fe0 and be0 domains to CORS ALLOWED_ORIGINS 2026-08-28 10:43:02 +07:00
ypratama 62a91ed10a Hide API URL and DB credentials from docker-compose.prod.yml 2026-08-27 18:09:01 +07:00
ypratama a308f5f0c9 Update docker-compose.prod.yml for external domains and mongodb 2026-08-27 17:41:03 +07:00
ypratama d1ba95a9cc Update allowedOrigins for new domains 2026-08-27 17:29:09 +07:00
ypratama e8397bddc8 Fix TypeScript tuple array typing for GlobeMap lines 2026-08-27 15:57:46 +07:00
ypratama 9219035003 Fix TypeScript error for TopWidgets AppStat properties 2026-08-27 15:51:03 +07:00
ypratama 20e38ffdb3 Fix TypeScript index error in devices page 2026-08-27 15:37:08 +07:00
ypratama 0a991662b7 Upgrade Node.js to v20 for Next.js frontend build 2026-08-27 15:22:11 +07:00
ypratama 1dee901f21 Fix Dockerfile npm ci conflict and ENV syntax 2026-08-27 15:09:06 +07:00
ypratama 966058e2fe v1.1: Add CIDR subnet filtering and Agent filter in Devices page 2026-08-27 12:02:01 +07:00