Production-ready Next.js boilerplate with: - Runtime env validation (fail-fast on missing vars) - Feature-gated config (S3, Stripe, email, OAuth) - Docker + Coolify deployment pipeline - PostgreSQL + pgvector, MinIO S3, Better Auth - TypeScript strict mode (no ignoreBuildErrors) - i18n (en/es), AI modules, billing, monitoring Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
21 lines
547 B
TOML
21 lines
547 B
TOML
# Nixpacks configuration for Turbostarter
|
|
# Removes chromium and browser dependencies to speed up builds
|
|
|
|
[phases.setup]
|
|
# Only include essential packages - no browser dependencies
|
|
nixPkgs = ["nodejs_22", "pnpm-10_x", "openssl"]
|
|
# Remove all browser-related apt packages
|
|
aptPkgs = ["curl", "wget"]
|
|
|
|
[phases.install]
|
|
cmds = [
|
|
"npm install -g corepack@0.24.1 && corepack enable",
|
|
"pnpm i --frozen-lockfile"
|
|
]
|
|
|
|
[phases.build]
|
|
cmds = ["SKIP_ENV_VALIDATION=1 npx turbo run build"]
|
|
|
|
[start]
|
|
cmd = "node apps/web/.next/standalone/apps/web/server.js"
|