Next.js app template — z3k platform
Find a file Use this template
Arthur Zinck 26718f8e8d
Some checks failed
build-image / build (push) Failing after 3s
ci: preview build on pull requests
2026-07-27 11:51:35 +00:00
.forgejo/workflows ci: preview build on pull requests 2026-07-27 11:51:35 +00:00
app feat: nextjs template — app/health/route.ts 2026-07-26 20:16:00 +00:00
public feat: nextjs template — public/.gitkeep 2026-07-26 20:16:00 +00:00
.dockerignore feat: nextjs template — .dockerignore 2026-07-26 20:16:02 +00:00
.gitignore feat: nextjs template — .gitignore 2026-07-26 20:16:03 +00:00
Dockerfile feat: platform base images (z3k-images) 2026-07-27 07:13:38 +00:00
next.config.ts feat: nextjs template — next.config.ts 2026-07-26 20:15:58 +00:00
package.json feat: nextjs template — package.json 2026-07-26 20:15:57 +00:00
README.md feat: nextjs template — README.md 2026-07-26 20:16:04 +00:00
tsconfig.json feat: nextjs template — tsconfig.json 2026-07-26 20:15:57 +00:00

Next.js app template

Minimal Next.js 15 (app router, TypeScript) service for the z3k platform.

  • Listens on PORT (default 3000), binds 0.0.0.0.
  • GET /health returns 200 ok — used by the platform probes.
  • Environment variables (e.g. APP_NAME) come from the console's Configuration tab; the home page greets with APP_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