Gog
一个面向 Dev Tools 场景的 Agent 技能。原始说明:Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.
name: coolify-deploy
description: Create, deploy, update, and troubleshoot Coolify applications with the official Coolify CLI. Use when user wants deploy via Coolify, app creation from GitHub, redeploy on push, env vars, logs, or fallback Docker/Traefik routing.
Use the official coolify CLI first. Use direct Docker + Traefik only as fallback.
app create github for private GitHub repos and the correct GitHub App UUID.server_uuidproject_uuidenvironment_name (usually production)github_app_uuid for private reposcoolify context verify
coolify github list --format=json
coolify app list --format=json
coolify app create github \
--server-uuid <server_uuid> \
--project-uuid <project_uuid> \
--environment-name production \
--github-app-uuid <github_app_uuid> \
--git-repository owner/repo \
--git-branch main \
--build-pack dockerfile \
--ports-exposes 80 \
--name <app-name> \
--domains http://<app>.<ip>.sslip.io \
--instant-deploy \
--format=json
coolify app env create <app-uuid> --key PORT --value 80 --format=json
coolify deploy uuid <app-uuid> --force --format=json
coolify app get <app-uuid> --format=json
coolify app deployments list <app-uuid> --format=json
curl -I http://<domain>
List configured GitHub apps:
coolify github list --format=json
Use the UUID from this output in coolify app create github --github-app-uuid ....
If a repo is private and public creation fails, switch to github creation.
exited:unhealthyCheck deployment logs first:
coolify app deployments list <app-uuid> --format=json
coolify app deployments logs <app-uuid>
Then verify:
PORTUse Debian-based Node image:
FROM node:20-slim AS builder
Avoid Alpine for builds that need native Rollup modules.
${PORT}Set env var in Coolify:
coolify app env create <app-uuid> --key PORT --value 80 --format=json
running:unknownTreat HTTP 200 + finished deployment as success. Coolify may still show running:unknown.
Only use when CLI-managed app creation is blocked.
See references/coolify-api.md for direct Docker/Traefik fallback patterns.
coolify github list --format=json
coolify app create github --server-uuid <server> --project-uuid <project> --environment-name production --github-app-uuid <ghapp> --git-repository owner/repo --git-branch main --build-pack dockerfile --ports-exposes 80 --name myapp --domains http://myapp.<ip>.sslip.io --instant-deploy --format=json
coolify app env create <uuid> --key PORT --value 80 --format=json
coolify deploy uuid <uuid> --force --format=json
coolify app deployments list <uuid> --format=json
curl -I http://myapp.<ip>.sslip.io