coolify

v2026.09.24

Coolify self-hosted PaaS for deploying applications, databases, and services via REST API and Git integration. Covers API authentication, deployment triggers, build packs (Nixpacks, Dockerfile, Compose), CI/CD with GitHub Actions webhooks, environment management, and Traefik proxy configuration. Use when deploying apps to Coolify, triggering deployments via API, configuring build packs, setting up GitHub Actions CI/CD pipelines, managing environment variables, or troubleshooting deployment failures.

GitHub
Install command
npx skhub add oakoss/coolify
Markdown
SKILL.md

Coolify

Overview

Coolify is a self-hosted PaaS (Vercel/Netlify alternative) that deploys applications, databases, and services on your own infrastructure. It provides a REST API for programmatic control, supports multiple build packs, and uses Traefik for reverse proxy and SSL.

When to use: Deploying applications to self-hosted infrastructure, managing databases and services through API, automating deployments via CI/CD, self-hosting without vendor lock-in.

When NOT to use: Initial Coolify server installation (use the official install script via browser), managing Coolify's own infrastructure (Postgres, Redis — managed internally), or when a managed platform (Vercel, Railway) meets your needs without self-hosting requirements.

Quick Reference

PatternApproachKey Points
API authAuthorization: Bearer <token> headerToken created in dashboard, scoped permissions
List applicationsGET /api/v1/applicationsReturns all apps with status and config
Trigger deployGET /api/v1/deploy?uuid=<app>&force=trueOr use per-app webhook URL
Create applicationPOST /api/v1/applications/publicRequires project_uuid, server_uuid, env_name
Update applicationPATCH /api/v1/applications/<uuid>Accepts build, health check, domain, limit fields
Auto-deployEnable in Advanced > GeneralDeploys on every push to configured branch
Webhook deploycurl GET <webhook_url> -H "Authorization: Bearer ..."Controlled deploys from CI pipelines
GitHub Actions deployBuild image, push to registry, trigger webhookFull control over build + test before deploy
Nixpacks buildAuto-detected from source codeZero-config for supported languages
Dockerfile buildSet build pack to dockerfileFull control over build process
Compose builddocker-compose.yaml as source of truthMulti-service stacks with Coolify labels
Environment variablesAPI or dashboard per-environmentInterpolated in Compose via ${VAR} syntax
Domain routingfqdn field or Traefik labels in ComposeAutomatic SSL via Let's Encrypt
Health checksConfigurable path, interval, retries via APIRequired for running:healthy status

Common Mistakes

MistakeCorrect Pattern
API returns "Unauthenticated"Add Accept: application/json header alongside Bearer token
Can't read sensitive fields (auto-deploy, etc.)Token needs view:sensitive or * permission scope
Auto-deploy not triggeringVerify GitHub App is connected and auto-deploy enabled in Advanced
Using API token without deploy permissionToken needs explicit deploy permission to trigger deployments
Health check fails on Compose servicesAdd exclude_from_hc: true label for non-HTTP services
Webhook deploy without auth headerAlways include Authorization: Bearer <token> with webhook calls
Environment variables not available in buildUse build arguments in Advanced menu, not runtime env vars
Compose services can't communicateUse service names as hostnames within the same stack network

Delegation

  • API exploration: Use Explore agent to discover existing Coolify resources
  • Dockerfile optimization: Use Task agent to review Dockerfiles for Coolify deployment
  • CI/CD pipeline design: Use Plan agent for deployment workflow strategy

If the docker skill is available, delegate Dockerfile authoring, multi-stage builds, and image optimization to it. If the github-actions skill is available, delegate workflow syntax and CI pipeline patterns to it. If the ci-cd-architecture skill is available, delegate deployment strategy and environment promotion to it.

References

Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.24

Published

Sep 24, 2026

Category

Uncategorized

License

Not specified

Source path

skills/coolify

Default branch

main

Latest commit

85e3a39

Tree SHA

a4c9e7b