Replaced fmt, strings, sort, os, io, sync, encoding/json, path/filepath, errors, log, reflect with core.Sprintf, core.E, core.Contains, core.Trim, core.Split, core.Join, core.JoinPath, slices.Sort, c.Fs(), c.Lock(), core.JSONMarshal, core.ReadAll and other CoreGO v0.8.0 primitives. Framework boundary exceptions preserved where stdlib types are required by external interfaces (Gin, net/http, CGo, Wails, bubbletea). Co-Authored-By: Virgil <virgil@lethean.io> |
||
|---|---|---|
| .. | ||
| .codex-plugin | ||
| commands | ||
| .DS_Store | ||
| AGENTS.md | ||
| README.md | ||
Coolify Skills
Skills for managing Coolify deployments. Coolify is a self-hosted PaaS (Platform as a Service).
Overview
Coolify provides:
- Docker container orchestration
- Automatic SSL via Traefik/Caddy
- One-click service deployments (90+ services)
- API-driven infrastructure management
Documentation: https://coolify.io/docs
Instance Configuration
| Environment | URL | Purpose |
|---|---|---|
| Local (default) | http://localhost:8000 |
Developer instance |
| Docker Internal | http://host.docker.internal:8000 |
From within containers |
Override with environment variable:
export COOLIFY_URL="http://your-coolify-instance:8000"
Browser Automation (Preferred Method)
Use Claude-in-Chrome MCP tools for Coolify management:
Workflow
- Get tab context:
mcp__claude-in-chrome__tabs_context_mcp - Create/navigate tab:
mcp__claude-in-chrome__tabs_create_mcpornavigate - Read page elements:
mcp__claude-in-chrome__read_pagewithfilter: "interactive" - Click elements:
mcp__claude-in-chrome__computerwithaction: "left_click"andref: "ref_XX" - Type text:
mcp__claude-in-chrome__computerwithaction: "type" - Take screenshots:
mcp__claude-in-chrome__computerwithaction: "screenshot"
Common Tasks
Deploy a One-Click Service
- Navigate to project → environment → "+ New"
- Search for service in search box
- Click service card to create
- Click "Deploy" button (top right)
- Wait for Service Startup modal to show completion
Check Deployment Status
- Look for status indicator next to service name:
- 🟢 Green dot = Running (healthy)
- 🔴 Red dot = Exited/Failed
- 🟡 Yellow = Deploying
Configure Environment Variables
- Click service → "Environment Variables" in left sidebar
- Use "Developer View" for raw text editing
- Add variables in format:
KEY=value - Click "Save All Environment Variables"
- Restart service if needed
API Access
Tokens are team-scoped. "root" permission means full access within that team.
Permission Levels
root- Full team access (includes all below)write- Create/update resourcesdeploy- Trigger deploymentsread- View resourcesread:sensitive- View secrets/env vars
API Examples
# Set your Coolify URL and token
COOLIFY_URL="${COOLIFY_URL:-http://localhost:8000}"
TOKEN="your-api-token"
# List servers
curl -s -H "Authorization: Bearer $TOKEN" "$COOLIFY_URL/api/v1/servers" | jq
# List projects
curl -s -H "Authorization: Bearer $TOKEN" "$COOLIFY_URL/api/v1/projects" | jq
# List services
curl -s -H "Authorization: Bearer $TOKEN" "$COOLIFY_URL/api/v1/services" | jq
Available One-Click Services
Full list: https://coolify.io/docs/services/all
AI & ML Services
| Service | Search Term | Description |
|---|---|---|
| Open WebUI | ollama |
Ollama chat interface |
| LiteLLM | litellm |
Universal LLM API proxy (OpenAI format) |
| Flowise | flowise |
Low-code LLM orchestration |
| LibreChat | librechat |
Multi-model chat with RAG |
| SearXNG | searxng |
Private metasearch engine |
Automation & DevOps
| Service | Description |
|---|---|
| n8n | Workflow automation |
| Activepieces | No-code automation |
| Code Server | VS Code in browser |
| Gitea | Git hosting |
Databases
| Service | Description |
|---|---|
| PostgreSQL | Relational database |
| MySQL/MariaDB | Relational database |
| MongoDB | Document database |
| Redis | In-memory cache |
| ClickHouse | Analytics database |
Monitoring
| Service | Description |
|---|---|
| Uptime Kuma | Uptime monitoring |
| Grafana | Dashboards |
| Prometheus | Metrics |
Environment Variables Magic
Coolify auto-generates these in docker-compose services:
| Variable Pattern | Description |
|---|---|
SERVICE_FQDN_<NAME> |
Auto-generated FQDN |
SERVICE_URL_<NAME> |
Full URL with https:// |
SERVICE_FQDN_<NAME>_<PORT> |
FQDN for specific port |
SERVICE_PASSWORD_<NAME> |
Auto-generated password |
SERVICE_USER_<NAME> |
Auto-generated username |
Connecting Services
To Local Ollama
OLLAMA_BASE_URL=http://host.docker.internal:11434
Between Coolify Services
Use Docker network DNS:
DATABASE_URL=postgres://user:pass@postgres-container-name:5432/db
Troubleshooting
Service Not Found in Search
- Try alternative search terms
- Check "Filter by category" dropdown
- Some services aren't in catalog - use Docker Image deployment
Deployment Fails
- Check logs in Service Startup modal
- Verify server has enough resources
- Check for port conflicts
Container Unhealthy
- View container logs via "Logs" tab
- Check environment variables
- Verify dependent services are running