TanStack Start on CoolifyTE.01

FIGURE.01TanStack Start on Coolify

Demo post with original placeholder copy. The real article covers a Docker-based deploy; below is the shape of it.

FROM node:22-slim AS build
WORKDIR /app
COPY . .
RUN npm ci && npm run build

Build the image, point Coolify at the repo, and set the start command to serve the .output folder. Keep env vars in Coolify, not in the image.

Service settings

Use Nixpacks or your own Dockerfile, expose port 3000, and add a health check on /. Keep the service stateless and attach a volume only if the app writes files.

  • Set PORT and HOST via Coolify env vars.
  • Enable preview deployments for pull requests.
  • Watch the first deploy log; most failures are missing env vars.

Once green, point your domain at the service and let Coolify issue the certificate. Redeploys then take about a minute, which makes small iterations painless.

ARTICLE_END // DATE: 2025.03.22 // ID: POST-2025-3