Nxtgauge Admin Panel
|
All checks were successful
build-and-release / build (push) Successful in 1m44s
Server-side gateway proxy (login, forgot-password, reset-password, all /api/admin/* and /api/gateway/* calls) was reading import.meta.env.VITE_GATEWAY_URL, which Vite only inlines at build time. The Dockerfile wrote GATEWAY_URL (no VITE_ prefix, and localhost besides) to .env at build time, so the var was never picked up and the fallback http://localhost:9100 got baked into the server bundle permanently — unreachable inside the pod, causing every admin auth call to 502 regardless of the correct GATEWAY_URL already set in the k8s ConfigMap. Switch to process.env.GATEWAY_URL, read at runtime like the rest of the server config already is. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .claude | ||
| .forgejo | ||
| .gitea/workflows | ||
| .github/workflows | ||
| .nitro/types | ||
| .playwright-cli | ||
| .storybook | ||
| docs | ||
| public | ||
| scripts | ||
| src | ||
| tests | ||
| .dockerignore | ||
| .eslintrc.cjs | ||
| .gitignore | ||
| .prettierrc | ||
| admin-solid.dev.pid | ||
| admin-solid.start.pid | ||
| admin.pid | ||
| docker-compose.yml | ||
| Dockerfile | ||
| Dockerfile.simple | ||
| package-lock.json | ||
| package.json | ||
| playwright.a11y.config.ts | ||
| playwright.config.ts | ||
| playwright.external.config.ts | ||
| playwright.storybook.config.ts | ||
| playwright.visual.config.ts | ||
| README.md | ||
| screenshot.ts | ||
| tsconfig.json | ||
| vite.config.timestamp_1776803609838.js | ||
| vite.config.ts | ||
| vitest.config.ts | ||
| vitest.shims.d.ts | ||
NXTGAUGE Admin Solid
SolidStart migration target for nxtgauge-nov-2025-frontend (admin panel).
Principle
Port admin modules one by one with strict API/permission parity.
See docs/MIGRATION_MASTER_PLAN.md.
CI (Woodpecker)
Required secrets:
REGISTRY_USERNAMEREGISTRY_PASSWORD
This project was created with the Solid CLI
Local Docker test (low RAM, no port conflict)
This repo ships an Alpine runtime image and a docker-compose.yml profile mapped to port 9102.
Build and run:
docker compose up --build -d
Check:
curl -I http://localhost:9202
Stop:
docker compose down
Run additional isolated instances (9103, 9104, ...):
docker run -d --name nxtgauge-admin-solid-9103 -p 9103:9202 nxtgauge-admin-solid:local
docker run -d --name nxtgauge-admin-solid-9104 -p 9104:9202 nxtgauge-admin-solid:local