This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
The web service exposes /healthz for Kubernetes startup, liveness, and readiness probes, and for Sealos-style availability checks. /healthz validates required runtime configuration, performs a short read-only smoke request against the AI Proxy backend, and returns 200 only when the web service is ready to serve traffic. Failed checks return 503 with a structured checks list and Cache-Control: no-store; secret values are never included in the response.
/healthz requires APP_TOKEN_JWT_KEY, AI_PROXY_BACKEND_KEY, a valid AI_PROXY_BACKEND_INTERNAL or AI_PROXY_BACKEND URL, and at least one non-empty ADMIN_NAMESPACES entry. When CURRENCY_SYMBOL is not usd, it also requires a valid ACCOUNT_SERVER URL and ACCOUNT_SERVER_TOKEN_JWT_KEY.
curl -i http://localhost:3000/healthzTo learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
Publish release builds from a GitHub Release, not from a tag alone. The Build Sealos from Sealos workflow runs on published releases and builds the runtime image, the Sealos cluster image, Actions artifacts for the packaged cluster image, and OSS uploads under release/<tag>/.
Use workflow_dispatch only as a fallback. It accepts version=sha-<short-sha> for CI-style packages under ci/main/<sha>/, or version=<v-tag> for release-style packages. Prerelease tags such as v5.1.2-rc6-alpha1 do not update latest; only stable vX.Y.Z tags do.
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.