Gii
All skills
devopsGii

Deploy Next.js to Coolify

Ship a Next.js or Dockerfile app to a self-hosted Coolify server via its API, with the gotchas already solved.

Published by Gii0 installsv1.0.07 KBUpdated Aug 13, 2026

Deploy a Next.js or Dockerfile-based app to a self-hosted Coolify server via its v1 REST API. Covers standalone output, a proven multi-stage Dockerfile, the full create-project through deploy call sequence, running migrations against a trimmed standalone image, and DNS plus TLS. Use when shipping an app to Coolify, when a build fails on a missing build-time module, or when migrations cannot run in the deployed container. See the SKILL.md and references inside the bundle.

SKILL.md

namecoolify-nextjs-deploy
descriptionDeploy a Next.js or Dockerfile-based app to a self-hosted Coolify server via its v1 REST API. Covers standalone output, a proven multi-stage Dockerfile, the create-project through deploy call sequence, running migrations against a trimmed standalone image, and DNS/TLS. Use when shipping an app to Coolify, when a build fails on a missing build-time module, when an API call is rejected for an unrecognized field, or when migrations cannot run in the deployed container.

Changelog

Initial release.