coolify
/coolify
Coolify deployment knowledge base - Docker multi-stage builds, CI/CD, SSL, health checks. Use when deploying to Coolify, setting up Docker containers, configuring CI/CD pipelines, or managing SSL certificates.
- Author
- PIXARTSeu ↗
- Repository
- Synapse ↗
- Licence
- AGPL-3.0
- Last repository change
- 15.09.2026
Assessment and security
- Files in this package
- 4
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 2
No signals detected. Repository changed on 15.09.2026, without references to retired models or APIs.
AGPL-3.0, copyleft: przeróbki udostępniane innym muszą mieć tę samą licencję.
What it does and when to use it
Coolify deployment knowledge base - Docker multi-stage builds, CI/CD, SSL, health checks. Use when deploying to Coolify, setting up Docker containers, configuring CI/CD pipelines, or managing SSL certificates.
Original author description
Coolify deployment knowledge base - Docker multi-stage builds, CI/CD, SSL, health checks. Use when deploying to Coolify, setting up Docker containers, configuring CI/CD pipelines, or managing SSL certificates.
How it works
- Dockerfile (Next.js)
- next.config.js
- Health Check Endpoint
- .dockerignore
- GitHub Actions Deploy
- Coolify Settings
- Checklist
SKILL.md preview
---
name: coolify
description: Coolify deployment knowledge base - Docker multi-stage builds, CI/CD, SSL, health checks. Use when deploying to Coolify, setting up Docker containers, configuring CI/CD pipelines, or managing SSL certificates.
version: 1.0.0
---
# Coolify Deployment Knowledge Base
## Dockerfile (Next.js)
```dockerfile
FROM node:20-alpine AS base
FROM base AS deps
WORKDIR /app
COPY package*.json ./
RUN npm ci
FROM base AS builder
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .
ENV NEXT_TELEMETRY_DISABLED=1
RUN npm run build
FROM base AS runner
WORKDIR /app
ENV NODE_ENV=production
RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs
COPY --from=builder /app/public ./public
COPY --from=builder /app/.next/standalone ./
COPY --from=builder /app/.next/static ./.next/static
USER nextjs
EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=3s \
CMD wget --spider http://localhost:3000/api/health || exit 1
CMD ["node", "server.js"]
```
## next.config.js
```javascript
module.exports = {
output: 'standalone',
};
```
## Health Check Endpoint
```typescript
// app/api/health/route.ts
import { NextResponse } from 'next/server';
export async function GET() {
return NextResponse.json({
status: 'ok',
timestamp: new Date().toISOString(),
});
}
```
## .dockerignore
```
node_modules
.next
.git
*.md
.env*
!.env.example
```
## GitHub Actions Deploy
```yaml
name: Deploy
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Deploy to Coolify
run: |
curl -X POST \
-H "Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}" \
"${{ secrets.COOLIFY_WEBHOOK }}"
```
## Coolify Settings
### Environment Variables
```
NODE_ENV=production
DATABASE_URL=
AUTH_SECRET=
NEXT_PUBLIC_API_URL=https://yourdomain.com
```
### Health Check
- Path: `/api/health`
- Interval: 30s
- Timeout: 10s
### SSL
- Provider: Let's Encrypt
- Auto-renewal: Enabled
## Checklist
- [ ] Dockerfile multi-stage
- [ ] output: 'standalone' in next.config
- [ ] Health check endpoint
- [ ] .dockerignore configured
- [ ] Environment variables set
- [ ] SSL enabled
- [ ] GitHub webhook configured
Files in this package (4)
- SKILL.md 2 KB
- learnings.md 1 KB
- evals/evals.json 2 KB
- evals/trigger_evals.json 1 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · PIXARTSeu/Synapse | 100 | AGPL-3.0 |
| TerminalSkills/skills | 100 | Apache-2.0 |
| evolv3-ai/vibe-skills | 100 | MIT |
Database snapshot: 13.11.2026 · package version 680b6edc7150 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 1 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100coolify-compose
Convert Docker Compose files to Coolify templates. Use when creating Coolify services, converting docker-compose.yml for Coolify deployment, working with SERVICE_URL/SERVICE_PASSWORD magic variables, or troubleshooting Coolify compose errors. - 100docker
Docker MCP - gestione container Coolify, debug log, ispezione deployment, monitor risorse. Use when inspecting containers, debugging deployments, reading logs, or monitoring resource usage via Docker MCP. - 100ci-cd
CI/CD pipelines for Next.js + Payload CMS projects. GitHub Actions workflows, testing pipelines, preview deployments, Docker builds, Coolify auto-deploy, release automation. Use when setting up CI/CD, automating builds/tests/deploys, or configuring GitHub Actions. - 100coolify-image-app
Create and configure a Coolify application that runs a prebuilt image from a registry. Use when adding an app to Coolify, fixing its health check, domains, limits or environment, or wiring its API token for a pipeline. - 100coolify-vps-baseline
Prepare a Linux VPS to run production containers under Coolify. Use when setting up a new server, auditing an existing one, or connecting a registry, firewall, proxy and monitoring before the first deploy. - 100nextjs-deployment
Provides comprehensive patterns for deploying Next.js applications to production. Use when configuring Docker containers, setting up GitHub Actions CI/CD pipelines, managing environment variables, implementing preview deployments, or setting up monitoring and logging for Next.js…