Next.js app template — z3k platform
|
|
||
|---|---|---|
| .forgejo/workflows | ||
| app | ||
| public | ||
| .dockerignore | ||
| .gitignore | ||
| Dockerfile | ||
| next.config.ts | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
Next.js app template
Minimal Next.js 15 (app router, TypeScript) service for the z3k platform.
- Listens on
PORT(default3000), binds0.0.0.0. GET /healthreturns200 ok— used by the platform probes.- Environment variables (e.g.
APP_NAME) come from the console's Configuration tab; the home page greets withAPP_NAME.
Deploy
Edit the app and push to main — the platform builds the image and rolls
out the new version automatically.
Local development
npm install
npm run dev