aidevops 2.52.1 → 2.53.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/VERSION +1 -1
- package/aidevops.sh +15 -9
- package/package.json +4 -4
- package/scripts/npm-postinstall.js +6 -7
- package/setup.sh +1 -1
- package/templates/deploy-templates.sh +144 -0
- package/templates/home/.agent/README.md +33 -0
- package/templates/home/AGENTS.md +96 -0
- package/templates/home/git/.agent/README.md +48 -0
- package/templates/home/git/AGENTS.md +97 -0
- package/templates/standard-functions.sh +179 -0
- package/templates/wordpress-performance-workflow.md +217 -0
- package/.agent/AGENTS.md +0 -614
- package/.agent/accounts.md +0 -65
- package/.agent/aidevops/add-new-mcp-to-aidevops.md +0 -456
- package/.agent/aidevops/api-integrations.md +0 -335
- package/.agent/aidevops/architecture.md +0 -510
- package/.agent/aidevops/configs.md +0 -274
- package/.agent/aidevops/docs.md +0 -244
- package/.agent/aidevops/extension.md +0 -311
- package/.agent/aidevops/mcp-integrations.md +0 -340
- package/.agent/aidevops/mcp-troubleshooting.md +0 -162
- package/.agent/aidevops/memory-patterns.md +0 -172
- package/.agent/aidevops/providers.md +0 -217
- package/.agent/aidevops/recommendations.md +0 -321
- package/.agent/aidevops/requirements.md +0 -301
- package/.agent/aidevops/resources.md +0 -214
- package/.agent/aidevops/security-requirements.md +0 -174
- package/.agent/aidevops/security.md +0 -350
- package/.agent/aidevops/service-links.md +0 -400
- package/.agent/aidevops/services.md +0 -357
- package/.agent/aidevops/setup.md +0 -153
- package/.agent/aidevops/troubleshooting.md +0 -389
- package/.agent/aidevops.md +0 -124
- package/.agent/build-plus.md +0 -244
- package/.agent/content/guidelines.md +0 -109
- package/.agent/content.md +0 -87
- package/.agent/health.md +0 -59
- package/.agent/legal.md +0 -59
- package/.agent/loop-state/full-loop.local.md +0 -16
- package/.agent/loop-state/ralph-loop.local.md +0 -10
- package/.agent/marketing.md +0 -440
- package/.agent/memory/README.md +0 -260
- package/.agent/onboarding.md +0 -796
- package/.agent/plan-plus.md +0 -245
- package/.agent/research.md +0 -100
- package/.agent/sales.md +0 -333
- package/.agent/scripts/101domains-helper.sh +0 -701
- package/.agent/scripts/add-missing-returns.sh +0 -140
- package/.agent/scripts/agent-browser-helper.sh +0 -311
- package/.agent/scripts/agno-setup.sh +0 -712
- package/.agent/scripts/ahrefs-mcp-wrapper.js +0 -168
- package/.agent/scripts/aidevops-update-check.sh +0 -71
- package/.agent/scripts/ampcode-cli.sh +0 -522
- package/.agent/scripts/auto-version-bump.sh +0 -156
- package/.agent/scripts/autogen-helper.sh +0 -512
- package/.agent/scripts/beads-sync-helper.sh +0 -596
- package/.agent/scripts/closte-helper.sh +0 -5
- package/.agent/scripts/cloudron-helper.sh +0 -321
- package/.agent/scripts/codacy-cli-chunked.sh +0 -581
- package/.agent/scripts/codacy-cli.sh +0 -442
- package/.agent/scripts/code-audit-helper.sh +0 -5
- package/.agent/scripts/coderabbit-cli.sh +0 -417
- package/.agent/scripts/coderabbit-pro-analysis.sh +0 -238
- package/.agent/scripts/commands/code-simplifier.md +0 -86
- package/.agent/scripts/commands/full-loop.md +0 -246
- package/.agent/scripts/commands/postflight-loop.md +0 -103
- package/.agent/scripts/commands/recall.md +0 -182
- package/.agent/scripts/commands/remember.md +0 -132
- package/.agent/scripts/commands/save-todo.md +0 -175
- package/.agent/scripts/commands/session-review.md +0 -154
- package/.agent/scripts/comprehensive-quality-fix.sh +0 -106
- package/.agent/scripts/context-builder-helper.sh +0 -522
- package/.agent/scripts/coolify-cli-helper.sh +0 -674
- package/.agent/scripts/coolify-helper.sh +0 -380
- package/.agent/scripts/crawl4ai-examples.sh +0 -401
- package/.agent/scripts/crawl4ai-helper.sh +0 -1078
- package/.agent/scripts/crewai-helper.sh +0 -681
- package/.agent/scripts/dev-browser-helper.sh +0 -513
- package/.agent/scripts/dns-helper.sh +0 -396
- package/.agent/scripts/domain-research-helper.sh +0 -917
- package/.agent/scripts/dspy-helper.sh +0 -285
- package/.agent/scripts/dspyground-helper.sh +0 -291
- package/.agent/scripts/eeat-score-helper.sh +0 -1242
- package/.agent/scripts/efficient-return-fix.sh +0 -92
- package/.agent/scripts/extract-opencode-prompts.sh +0 -128
- package/.agent/scripts/find-missing-returns.sh +0 -113
- package/.agent/scripts/fix-auth-headers.sh +0 -104
- package/.agent/scripts/fix-common-strings.sh +0 -254
- package/.agent/scripts/fix-content-type.sh +0 -100
- package/.agent/scripts/fix-error-messages.sh +0 -130
- package/.agent/scripts/fix-misplaced-returns.sh +0 -74
- package/.agent/scripts/fix-remaining-literals.sh +0 -152
- package/.agent/scripts/fix-return-statements.sh +0 -41
- package/.agent/scripts/fix-s131-default-cases.sh +0 -249
- package/.agent/scripts/fix-sc2155-simple.sh +0 -102
- package/.agent/scripts/fix-shellcheck-critical.sh +0 -187
- package/.agent/scripts/fix-string-literals.sh +0 -273
- package/.agent/scripts/full-loop-helper.sh +0 -773
- package/.agent/scripts/generate-opencode-agents.sh +0 -497
- package/.agent/scripts/generate-opencode-commands.sh +0 -1629
- package/.agent/scripts/generate-skills.sh +0 -366
- package/.agent/scripts/git-platforms-helper.sh +0 -640
- package/.agent/scripts/gitea-cli-helper.sh +0 -743
- package/.agent/scripts/github-cli-helper.sh +0 -702
- package/.agent/scripts/gitlab-cli-helper.sh +0 -682
- package/.agent/scripts/gsc-add-user-helper.sh +0 -325
- package/.agent/scripts/gsc-sitemap-helper.sh +0 -678
- package/.agent/scripts/hetzner-helper.sh +0 -485
- package/.agent/scripts/hostinger-helper.sh +0 -229
- package/.agent/scripts/keyword-research-helper.sh +0 -1815
- package/.agent/scripts/langflow-helper.sh +0 -544
- package/.agent/scripts/linkedin-automation.py +0 -241
- package/.agent/scripts/linter-manager.sh +0 -599
- package/.agent/scripts/linters-local.sh +0 -434
- package/.agent/scripts/list-keys-helper.sh +0 -488
- package/.agent/scripts/local-browser-automation.py +0 -339
- package/.agent/scripts/localhost-helper.sh +0 -744
- package/.agent/scripts/loop-common.sh +0 -806
- package/.agent/scripts/mainwp-helper.sh +0 -728
- package/.agent/scripts/markdown-formatter.sh +0 -338
- package/.agent/scripts/markdown-lint-fix.sh +0 -311
- package/.agent/scripts/mass-fix-returns.sh +0 -58
- package/.agent/scripts/mcp-diagnose.sh +0 -167
- package/.agent/scripts/mcp-inspector-helper.sh +0 -449
- package/.agent/scripts/memory-helper.sh +0 -650
- package/.agent/scripts/monitor-code-review.sh +0 -255
- package/.agent/scripts/onboarding-helper.sh +0 -706
- package/.agent/scripts/opencode-github-setup-helper.sh +0 -797
- package/.agent/scripts/opencode-test-helper.sh +0 -213
- package/.agent/scripts/pagespeed-helper.sh +0 -464
- package/.agent/scripts/pandoc-helper.sh +0 -362
- package/.agent/scripts/postflight-check.sh +0 -555
- package/.agent/scripts/pre-commit-hook.sh +0 -259
- package/.agent/scripts/pre-edit-check.sh +0 -169
- package/.agent/scripts/qlty-cli.sh +0 -356
- package/.agent/scripts/quality-cli-manager.sh +0 -525
- package/.agent/scripts/quality-feedback-helper.sh +0 -462
- package/.agent/scripts/quality-fix.sh +0 -263
- package/.agent/scripts/quality-loop-helper.sh +0 -1108
- package/.agent/scripts/ralph-loop-helper.sh +0 -836
- package/.agent/scripts/ralph-upstream-check.sh +0 -341
- package/.agent/scripts/secretlint-helper.sh +0 -847
- package/.agent/scripts/servers-helper.sh +0 -241
- package/.agent/scripts/ses-helper.sh +0 -619
- package/.agent/scripts/session-review-helper.sh +0 -404
- package/.agent/scripts/setup-linters-wizard.sh +0 -379
- package/.agent/scripts/setup-local-api-keys.sh +0 -330
- package/.agent/scripts/setup-mcp-integrations.sh +0 -472
- package/.agent/scripts/shared-constants.sh +0 -246
- package/.agent/scripts/site-crawler-helper.sh +0 -1487
- package/.agent/scripts/snyk-helper.sh +0 -940
- package/.agent/scripts/sonarcloud-autofix.sh +0 -193
- package/.agent/scripts/sonarcloud-cli.sh +0 -191
- package/.agent/scripts/sonarscanner-cli.sh +0 -455
- package/.agent/scripts/spaceship-helper.sh +0 -747
- package/.agent/scripts/stagehand-helper.sh +0 -321
- package/.agent/scripts/stagehand-python-helper.sh +0 -321
- package/.agent/scripts/stagehand-python-setup.sh +0 -441
- package/.agent/scripts/stagehand-setup.sh +0 -439
- package/.agent/scripts/system-cleanup.sh +0 -340
- package/.agent/scripts/terminal-title-helper.sh +0 -388
- package/.agent/scripts/terminal-title-setup.sh +0 -549
- package/.agent/scripts/test-stagehand-both-integration.sh +0 -317
- package/.agent/scripts/test-stagehand-integration.sh +0 -309
- package/.agent/scripts/test-stagehand-python-integration.sh +0 -341
- package/.agent/scripts/todo-ready.sh +0 -263
- package/.agent/scripts/tool-version-check.sh +0 -362
- package/.agent/scripts/toon-helper.sh +0 -469
- package/.agent/scripts/twilio-helper.sh +0 -917
- package/.agent/scripts/updown-helper.sh +0 -279
- package/.agent/scripts/validate-mcp-integrations.sh +0 -250
- package/.agent/scripts/validate-version-consistency.sh +0 -131
- package/.agent/scripts/vaultwarden-helper.sh +0 -597
- package/.agent/scripts/vercel-cli-helper.sh +0 -816
- package/.agent/scripts/verify-mirrors.sh +0 -169
- package/.agent/scripts/version-manager.sh +0 -831
- package/.agent/scripts/webhosting-helper.sh +0 -471
- package/.agent/scripts/webhosting-verify.sh +0 -238
- package/.agent/scripts/wordpress-mcp-helper.sh +0 -508
- package/.agent/scripts/worktree-helper.sh +0 -595
- package/.agent/scripts/worktree-sessions.sh +0 -577
- package/.agent/seo/dataforseo.md +0 -215
- package/.agent/seo/domain-research.md +0 -532
- package/.agent/seo/eeat-score.md +0 -659
- package/.agent/seo/google-search-console.md +0 -366
- package/.agent/seo/gsc-sitemaps.md +0 -282
- package/.agent/seo/keyword-research.md +0 -521
- package/.agent/seo/serper.md +0 -278
- package/.agent/seo/site-crawler.md +0 -387
- package/.agent/seo.md +0 -236
- package/.agent/services/accounting/quickfile.md +0 -159
- package/.agent/services/communications/telfon.md +0 -470
- package/.agent/services/communications/twilio.md +0 -569
- package/.agent/services/crm/fluentcrm.md +0 -449
- package/.agent/services/email/ses.md +0 -399
- package/.agent/services/hosting/101domains.md +0 -378
- package/.agent/services/hosting/closte.md +0 -177
- package/.agent/services/hosting/cloudflare.md +0 -251
- package/.agent/services/hosting/cloudron.md +0 -478
- package/.agent/services/hosting/dns-providers.md +0 -335
- package/.agent/services/hosting/domain-purchasing.md +0 -344
- package/.agent/services/hosting/hetzner.md +0 -327
- package/.agent/services/hosting/hostinger.md +0 -287
- package/.agent/services/hosting/localhost.md +0 -419
- package/.agent/services/hosting/spaceship.md +0 -353
- package/.agent/services/hosting/webhosting.md +0 -330
- package/.agent/social-media.md +0 -69
- package/.agent/templates/plans-template.md +0 -114
- package/.agent/templates/prd-template.md +0 -129
- package/.agent/templates/tasks-template.md +0 -108
- package/.agent/templates/todo-template.md +0 -89
- package/.agent/tools/ai-assistants/agno.md +0 -471
- package/.agent/tools/ai-assistants/capsolver.md +0 -326
- package/.agent/tools/ai-assistants/configuration.md +0 -221
- package/.agent/tools/ai-assistants/overview.md +0 -209
- package/.agent/tools/ai-assistants/status.md +0 -171
- package/.agent/tools/ai-assistants/windsurf.md +0 -193
- package/.agent/tools/ai-orchestration/autogen.md +0 -406
- package/.agent/tools/ai-orchestration/crewai.md +0 -445
- package/.agent/tools/ai-orchestration/langflow.md +0 -405
- package/.agent/tools/ai-orchestration/openprose.md +0 -487
- package/.agent/tools/ai-orchestration/overview.md +0 -362
- package/.agent/tools/ai-orchestration/packaging.md +0 -647
- package/.agent/tools/browser/agent-browser.md +0 -464
- package/.agent/tools/browser/browser-automation.md +0 -400
- package/.agent/tools/browser/chrome-devtools.md +0 -282
- package/.agent/tools/browser/crawl4ai-integration.md +0 -422
- package/.agent/tools/browser/crawl4ai-resources.md +0 -277
- package/.agent/tools/browser/crawl4ai-usage.md +0 -416
- package/.agent/tools/browser/crawl4ai.md +0 -585
- package/.agent/tools/browser/dev-browser.md +0 -341
- package/.agent/tools/browser/pagespeed.md +0 -260
- package/.agent/tools/browser/playwright.md +0 -266
- package/.agent/tools/browser/playwriter.md +0 -310
- package/.agent/tools/browser/stagehand-examples.md +0 -456
- package/.agent/tools/browser/stagehand-python.md +0 -483
- package/.agent/tools/browser/stagehand.md +0 -421
- package/.agent/tools/build-agent/agent-review.md +0 -224
- package/.agent/tools/build-agent/build-agent.md +0 -784
- package/.agent/tools/build-mcp/aidevops-plugin.md +0 -476
- package/.agent/tools/build-mcp/api-wrapper.md +0 -445
- package/.agent/tools/build-mcp/build-mcp.md +0 -240
- package/.agent/tools/build-mcp/deployment.md +0 -401
- package/.agent/tools/build-mcp/server-patterns.md +0 -632
- package/.agent/tools/build-mcp/transports.md +0 -366
- package/.agent/tools/code-review/auditing.md +0 -383
- package/.agent/tools/code-review/automation.md +0 -219
- package/.agent/tools/code-review/best-practices.md +0 -203
- package/.agent/tools/code-review/codacy.md +0 -151
- package/.agent/tools/code-review/code-simplifier.md +0 -174
- package/.agent/tools/code-review/code-standards.md +0 -309
- package/.agent/tools/code-review/coderabbit.md +0 -101
- package/.agent/tools/code-review/management.md +0 -155
- package/.agent/tools/code-review/qlty.md +0 -248
- package/.agent/tools/code-review/secretlint.md +0 -565
- package/.agent/tools/code-review/setup.md +0 -250
- package/.agent/tools/code-review/snyk.md +0 -563
- package/.agent/tools/code-review/tools.md +0 -230
- package/.agent/tools/content/summarize.md +0 -353
- package/.agent/tools/context/augment-context-engine.md +0 -468
- package/.agent/tools/context/context-builder-agent.md +0 -76
- package/.agent/tools/context/context-builder.md +0 -375
- package/.agent/tools/context/context7.md +0 -371
- package/.agent/tools/context/dspy.md +0 -302
- package/.agent/tools/context/dspyground.md +0 -374
- package/.agent/tools/context/llm-tldr.md +0 -219
- package/.agent/tools/context/osgrep.md +0 -488
- package/.agent/tools/context/prompt-optimization.md +0 -338
- package/.agent/tools/context/toon.md +0 -292
- package/.agent/tools/conversion/pandoc.md +0 -304
- package/.agent/tools/credentials/api-key-management.md +0 -154
- package/.agent/tools/credentials/api-key-setup.md +0 -224
- package/.agent/tools/credentials/environment-variables.md +0 -180
- package/.agent/tools/credentials/vaultwarden.md +0 -382
- package/.agent/tools/data-extraction/outscraper.md +0 -974
- package/.agent/tools/deployment/coolify-cli.md +0 -388
- package/.agent/tools/deployment/coolify-setup.md +0 -353
- package/.agent/tools/deployment/coolify.md +0 -345
- package/.agent/tools/deployment/vercel.md +0 -390
- package/.agent/tools/git/authentication.md +0 -132
- package/.agent/tools/git/gitea-cli.md +0 -193
- package/.agent/tools/git/github-actions.md +0 -207
- package/.agent/tools/git/github-cli.md +0 -223
- package/.agent/tools/git/gitlab-cli.md +0 -190
- package/.agent/tools/git/opencode-github-security.md +0 -350
- package/.agent/tools/git/opencode-github.md +0 -328
- package/.agent/tools/git/opencode-gitlab.md +0 -252
- package/.agent/tools/git/security.md +0 -196
- package/.agent/tools/git.md +0 -207
- package/.agent/tools/opencode/oh-my-opencode.md +0 -375
- package/.agent/tools/opencode/opencode-anthropic-auth.md +0 -446
- package/.agent/tools/opencode/opencode.md +0 -651
- package/.agent/tools/social-media/bird.md +0 -437
- package/.agent/tools/task-management/beads.md +0 -336
- package/.agent/tools/terminal/terminal-title.md +0 -251
- package/.agent/tools/ui/shadcn.md +0 -196
- package/.agent/tools/ui/ui-skills.md +0 -115
- package/.agent/tools/wordpress/localwp.md +0 -311
- package/.agent/tools/wordpress/mainwp.md +0 -391
- package/.agent/tools/wordpress/scf.md +0 -527
- package/.agent/tools/wordpress/wp-admin.md +0 -729
- package/.agent/tools/wordpress/wp-dev.md +0 -940
- package/.agent/tools/wordpress/wp-preferred.md +0 -398
- package/.agent/tools/wordpress.md +0 -95
- package/.agent/workflows/branch/bugfix.md +0 -63
- package/.agent/workflows/branch/chore.md +0 -95
- package/.agent/workflows/branch/experiment.md +0 -115
- package/.agent/workflows/branch/feature.md +0 -59
- package/.agent/workflows/branch/hotfix.md +0 -98
- package/.agent/workflows/branch/refactor.md +0 -92
- package/.agent/workflows/branch/release.md +0 -96
- package/.agent/workflows/branch.md +0 -347
- package/.agent/workflows/bug-fixing.md +0 -267
- package/.agent/workflows/changelog.md +0 -129
- package/.agent/workflows/code-audit-remote.md +0 -279
- package/.agent/workflows/conversation-starter.md +0 -69
- package/.agent/workflows/error-feedback.md +0 -578
- package/.agent/workflows/feature-development.md +0 -355
- package/.agent/workflows/git-workflow.md +0 -702
- package/.agent/workflows/multi-repo-workspace.md +0 -268
- package/.agent/workflows/plans.md +0 -709
- package/.agent/workflows/postflight.md +0 -604
- package/.agent/workflows/pr.md +0 -571
- package/.agent/workflows/preflight.md +0 -278
- package/.agent/workflows/ralph-loop.md +0 -773
- package/.agent/workflows/release.md +0 -498
- package/.agent/workflows/session-manager.md +0 -254
- package/.agent/workflows/session-review.md +0 -311
- package/.agent/workflows/sql-migrations.md +0 -631
- package/.agent/workflows/version-bump.md +0 -283
- package/.agent/workflows/wiki-update.md +0 -333
- package/.agent/workflows/worktree.md +0 -477
|
@@ -1,353 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Coolify server installation and configuration
|
|
3
|
-
mode: subagent
|
|
4
|
-
tools:
|
|
5
|
-
read: true
|
|
6
|
-
write: true
|
|
7
|
-
edit: true
|
|
8
|
-
bash: true
|
|
9
|
-
glob: true
|
|
10
|
-
grep: true
|
|
11
|
-
webfetch: true
|
|
12
|
-
task: true
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
# Coolify Setup Guide
|
|
16
|
-
|
|
17
|
-
<!-- AI-CONTEXT-START -->
|
|
18
|
-
|
|
19
|
-
## Quick Reference
|
|
20
|
-
|
|
21
|
-
- **Purpose**: Self-hosted alternative to Vercel/Netlify/Heroku
|
|
22
|
-
- **Install**: `curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash`
|
|
23
|
-
- **Requirements**: 2GB+ RAM, Ubuntu 20.04+/Debian 11+, ports 22/80/443/8000
|
|
24
|
-
- **Dashboard**: `https://your-server-ip:8000`
|
|
25
|
-
- **Helper**: `.agent/scripts/coolify-helper.sh`
|
|
26
|
-
- **Commands**: `list` | `connect [server]` | `open [server]` | `status [server]` | `apps [server]` | `exec [server] [cmd]`
|
|
27
|
-
- **Config**: `configs/coolify-config.json`
|
|
28
|
-
- **Features**: Git deployments, databases (PostgreSQL/MySQL/MongoDB/Redis), SSL automation, Docker containers
|
|
29
|
-
- **Docs**: https://coolify.io/docs
|
|
30
|
-
<!-- AI-CONTEXT-END -->
|
|
31
|
-
|
|
32
|
-
Coolify is a self-hosted alternative to Vercel, Netlify, and Heroku that allows you to deploy applications with ease using Docker containers.
|
|
33
|
-
|
|
34
|
-
## What is Coolify?
|
|
35
|
-
|
|
36
|
-
Coolify is an open-source, self-hostable cloud platform that:
|
|
37
|
-
|
|
38
|
-
- **Deploys applications** from Git repositories automatically
|
|
39
|
-
- **Manages databases** (PostgreSQL, MySQL, MongoDB, Redis, etc.)
|
|
40
|
-
- **Handles SSL certificates** automatically via Let's Encrypt
|
|
41
|
-
- **Provides monitoring** and logging for your applications
|
|
42
|
-
- **Supports multiple languages** (Node.js, Python, PHP, Go, Rust, static sites)
|
|
43
|
-
- **Uses Docker** for containerization and isolation
|
|
44
|
-
|
|
45
|
-
## 📋 **Prerequisites**
|
|
46
|
-
|
|
47
|
-
### **Server Requirements:**
|
|
48
|
-
|
|
49
|
-
- **VPS or dedicated server** with at least 2GB RAM (4GB+ recommended)
|
|
50
|
-
- **Ubuntu 20.04+ or Debian 11+** (recommended)
|
|
51
|
-
- **Root access** or sudo privileges
|
|
52
|
-
- **Domain name** pointing to your server
|
|
53
|
-
- **Open ports**: 22 (SSH), 80 (HTTP), 443 (HTTPS), 8000 (Coolify dashboard)
|
|
54
|
-
|
|
55
|
-
### **Local Requirements:**
|
|
56
|
-
|
|
57
|
-
- **SSH key** for server access
|
|
58
|
-
- **Git repositories** for your applications
|
|
59
|
-
- **Domain DNS** configured to point to your server
|
|
60
|
-
|
|
61
|
-
## 🛠️ **Installation**
|
|
62
|
-
|
|
63
|
-
### **1. Server Setup**
|
|
64
|
-
|
|
65
|
-
#### **Install Coolify:**
|
|
66
|
-
|
|
67
|
-
```bash
|
|
68
|
-
# Connect to your server
|
|
69
|
-
ssh root@your-server-ip
|
|
70
|
-
|
|
71
|
-
# Install Coolify (one-line installer)
|
|
72
|
-
curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
#### **Post-Installation:**
|
|
76
|
-
|
|
77
|
-
```bash
|
|
78
|
-
# Check Coolify status
|
|
79
|
-
systemctl status coolify
|
|
80
|
-
|
|
81
|
-
# View Coolify logs
|
|
82
|
-
docker logs coolify
|
|
83
|
-
|
|
84
|
-
# Access Coolify dashboard
|
|
85
|
-
# Open: https://your-server-ip:8000
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
### **2. Initial Configuration**
|
|
89
|
-
|
|
90
|
-
#### **Access Web Interface:**
|
|
91
|
-
|
|
92
|
-
1. **Open browser**: `https://your-server-ip:8000`
|
|
93
|
-
2. **Create admin account**: Set username and password
|
|
94
|
-
3. **Configure server**: Add your server details
|
|
95
|
-
4. **Setup domain**: Configure your domain name
|
|
96
|
-
5. **Generate SSH keys**: For Git repository access
|
|
97
|
-
|
|
98
|
-
#### **Security Setup:**
|
|
99
|
-
|
|
100
|
-
```bash
|
|
101
|
-
# Configure firewall (if using ufw)
|
|
102
|
-
ufw allow 22/tcp
|
|
103
|
-
ufw allow 80/tcp
|
|
104
|
-
ufw allow 443/tcp
|
|
105
|
-
ufw allow 8000/tcp
|
|
106
|
-
ufw enable
|
|
107
|
-
|
|
108
|
-
# Update system packages
|
|
109
|
-
apt update && apt upgrade -y
|
|
110
|
-
|
|
111
|
-
# Setup automatic security updates
|
|
112
|
-
apt install unattended-upgrades -y
|
|
113
|
-
dpkg-reconfigure -plow unattended-upgrades
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
## 🔧 **Framework Configuration**
|
|
117
|
-
|
|
118
|
-
### **1. Copy Configuration Template:**
|
|
119
|
-
|
|
120
|
-
```bash
|
|
121
|
-
cp configs/coolify-config.json.txt configs/coolify-config.json
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
### **2. Edit Configuration:**
|
|
125
|
-
|
|
126
|
-
```json
|
|
127
|
-
{
|
|
128
|
-
"servers": {
|
|
129
|
-
"coolify-main": {
|
|
130
|
-
"name": "Main Coolify Server",
|
|
131
|
-
"host": "coolify.yourdomain.com",
|
|
132
|
-
"ip": "your-server-ip",
|
|
133
|
-
"coolify_url": "https://coolify.yourdomain.com",
|
|
134
|
-
"ssh_key": "~/.ssh/id_ed25519"
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
"api_configuration": {
|
|
138
|
-
"main_server": {
|
|
139
|
-
"api_token": "your-coolify-api-token",
|
|
140
|
-
"base_url": "https://coolify.yourdomain.com/api/v1"
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
### **3. Generate API Token:**
|
|
147
|
-
|
|
148
|
-
1. **Login to Coolify dashboard**
|
|
149
|
-
2. **Go to Settings** → API Tokens
|
|
150
|
-
3. **Create new token** with required permissions
|
|
151
|
-
4. **Copy token** to your configuration file
|
|
152
|
-
|
|
153
|
-
## 🚀 **Deploying Your First Application**
|
|
154
|
-
|
|
155
|
-
### **1. Static Site (React/Vue/Angular):**
|
|
156
|
-
|
|
157
|
-
```bash
|
|
158
|
-
# In Coolify dashboard:
|
|
159
|
-
# 1. Create new application
|
|
160
|
-
# 2. Connect Git repository
|
|
161
|
-
# 3. Set build command: npm run build
|
|
162
|
-
# 4. Set output directory: dist (or build)
|
|
163
|
-
# 5. Configure domain name
|
|
164
|
-
# 6. Deploy!
|
|
165
|
-
```
|
|
166
|
-
|
|
167
|
-
### **2. Node.js Application:**
|
|
168
|
-
|
|
169
|
-
```bash
|
|
170
|
-
# In Coolify dashboard:
|
|
171
|
-
# 1. Create new application
|
|
172
|
-
# 2. Connect Git repository
|
|
173
|
-
# 3. Set start command: npm start
|
|
174
|
-
# 4. Configure environment variables
|
|
175
|
-
# 5. Set port (usually 3000)
|
|
176
|
-
# 6. Configure domain name
|
|
177
|
-
# 7. Deploy!
|
|
178
|
-
```
|
|
179
|
-
|
|
180
|
-
### **3. Database Setup:**
|
|
181
|
-
|
|
182
|
-
```bash
|
|
183
|
-
# In Coolify dashboard:
|
|
184
|
-
# 1. Go to Databases
|
|
185
|
-
# 2. Create new database (PostgreSQL/MySQL/MongoDB/Redis)
|
|
186
|
-
# 3. Configure database name and credentials
|
|
187
|
-
# 4. Connect to your application via environment variables
|
|
188
|
-
```
|
|
189
|
-
|
|
190
|
-
## 🔧 **Using the Framework Helper**
|
|
191
|
-
|
|
192
|
-
### **Server Management:**
|
|
193
|
-
|
|
194
|
-
```bash
|
|
195
|
-
# List Coolify servers
|
|
196
|
-
./.agent/scripts/coolify-helper.sh list
|
|
197
|
-
|
|
198
|
-
# Connect to server via SSH
|
|
199
|
-
./.agent/scripts/coolify-helper.sh connect coolify-main
|
|
200
|
-
|
|
201
|
-
# Open Coolify web interface
|
|
202
|
-
./.agent/scripts/coolify-helper.sh open coolify-main
|
|
203
|
-
|
|
204
|
-
# Check server status
|
|
205
|
-
./.agent/scripts/coolify-helper.sh status coolify-main
|
|
206
|
-
```
|
|
207
|
-
|
|
208
|
-
### **Application Management:**
|
|
209
|
-
|
|
210
|
-
```bash
|
|
211
|
-
# List applications on server
|
|
212
|
-
./.agent/scripts/coolify-helper.sh apps main_server
|
|
213
|
-
|
|
214
|
-
# Execute commands on server
|
|
215
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'docker ps'
|
|
216
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'df -h'
|
|
217
|
-
```
|
|
218
|
-
|
|
219
|
-
### **SSH Configuration:**
|
|
220
|
-
|
|
221
|
-
```bash
|
|
222
|
-
# Generate SSH configs for easy access
|
|
223
|
-
./.agent/scripts/coolify-helper.sh generate-ssh-configs
|
|
224
|
-
|
|
225
|
-
# Then you can simply use:
|
|
226
|
-
ssh coolify-main
|
|
227
|
-
```
|
|
228
|
-
|
|
229
|
-
## 🛡️ **Security Best Practices**
|
|
230
|
-
|
|
231
|
-
### **Server Security:**
|
|
232
|
-
|
|
233
|
-
- **Use SSH keys** instead of passwords
|
|
234
|
-
- **Configure firewall** to allow only necessary ports
|
|
235
|
-
- **Enable automatic security updates**
|
|
236
|
-
- **Regular backups** of applications and databases
|
|
237
|
-
- **Monitor server resources** and logs
|
|
238
|
-
|
|
239
|
-
### **Application Security:**
|
|
240
|
-
|
|
241
|
-
- **Use environment variables** for sensitive configuration
|
|
242
|
-
- **Enable HTTPS** for all applications (automatic with Coolify)
|
|
243
|
-
- **Regular updates** of application dependencies
|
|
244
|
-
- **Implement proper logging** and monitoring
|
|
245
|
-
- **Use strong database passwords**
|
|
246
|
-
|
|
247
|
-
### **Access Control:**
|
|
248
|
-
|
|
249
|
-
- **Limit SSH access** to specific IP addresses
|
|
250
|
-
- **Use strong passwords** for Coolify dashboard
|
|
251
|
-
- **Regular API token rotation**
|
|
252
|
-
- **Monitor access logs** for suspicious activity
|
|
253
|
-
|
|
254
|
-
## 🔍 **Monitoring & Maintenance**
|
|
255
|
-
|
|
256
|
-
### **Health Checks:**
|
|
257
|
-
|
|
258
|
-
```bash
|
|
259
|
-
# Check Coolify service status
|
|
260
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'systemctl status coolify'
|
|
261
|
-
|
|
262
|
-
# Check Docker containers
|
|
263
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'docker ps'
|
|
264
|
-
|
|
265
|
-
# Check disk space
|
|
266
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'df -h'
|
|
267
|
-
|
|
268
|
-
# Check memory usage
|
|
269
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'free -h'
|
|
270
|
-
```
|
|
271
|
-
|
|
272
|
-
### **Log Management:**
|
|
273
|
-
|
|
274
|
-
```bash
|
|
275
|
-
# View Coolify logs
|
|
276
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'docker logs coolify'
|
|
277
|
-
|
|
278
|
-
# View application logs (in Coolify dashboard)
|
|
279
|
-
# Go to Application → Logs tab
|
|
280
|
-
|
|
281
|
-
# System logs
|
|
282
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'journalctl -u coolify -f'
|
|
283
|
-
```
|
|
284
|
-
|
|
285
|
-
### **Backup Strategy:**
|
|
286
|
-
|
|
287
|
-
- **Database backups**: Configure automatic backups in Coolify
|
|
288
|
-
- **Application code**: Stored in Git repositories
|
|
289
|
-
- **Server snapshots**: Regular VPS/server snapshots
|
|
290
|
-
- **Configuration backups**: Backup Coolify configuration
|
|
291
|
-
|
|
292
|
-
## 🚨 **Troubleshooting**
|
|
293
|
-
|
|
294
|
-
### **Common Issues:**
|
|
295
|
-
|
|
296
|
-
#### **Deployment Fails:**
|
|
297
|
-
|
|
298
|
-
```bash
|
|
299
|
-
# Check build logs in Coolify dashboard
|
|
300
|
-
# Verify build commands and dependencies
|
|
301
|
-
# Check environment variables
|
|
302
|
-
# Ensure sufficient disk space and memory
|
|
303
|
-
```
|
|
304
|
-
|
|
305
|
-
#### **SSL Certificate Issues:**
|
|
306
|
-
|
|
307
|
-
```bash
|
|
308
|
-
# Verify domain DNS points to server
|
|
309
|
-
# Check firewall allows ports 80 and 443
|
|
310
|
-
# Ensure domain is properly configured in Coolify
|
|
311
|
-
# Check Let's Encrypt rate limits
|
|
312
|
-
```
|
|
313
|
-
|
|
314
|
-
#### **Application Not Accessible:**
|
|
315
|
-
|
|
316
|
-
```bash
|
|
317
|
-
# Check application logs in Coolify dashboard
|
|
318
|
-
# Verify port configuration
|
|
319
|
-
# Check health check endpoints
|
|
320
|
-
# Ensure application is running (docker ps)
|
|
321
|
-
```
|
|
322
|
-
|
|
323
|
-
#### **Database Connection Issues:**
|
|
324
|
-
|
|
325
|
-
```bash
|
|
326
|
-
# Verify database is running
|
|
327
|
-
# Check connection strings and credentials
|
|
328
|
-
# Ensure network connectivity between containers
|
|
329
|
-
# Check database logs
|
|
330
|
-
```
|
|
331
|
-
|
|
332
|
-
## 📚 **Additional Resources**
|
|
333
|
-
|
|
334
|
-
- **Official Documentation**: https://coolify.io/docs
|
|
335
|
-
- **GitHub Repository**: https://github.com/coollabsio/coolify
|
|
336
|
-
- **Community Discord**: https://discord.gg/coolify
|
|
337
|
-
- **Video Tutorials**: Available on YouTube
|
|
338
|
-
- **Example Applications**: https://github.com/coollabsio/coolify-examples
|
|
339
|
-
|
|
340
|
-
## 🎯 **Benefits for AI-Assisted Development**
|
|
341
|
-
|
|
342
|
-
- **Automated deployments** from Git pushes
|
|
343
|
-
- **Environment management** for different stages
|
|
344
|
-
- **Database provisioning** with one click
|
|
345
|
-
- **SSL certificate automation**
|
|
346
|
-
- **Container orchestration** without complexity
|
|
347
|
-
- **Monitoring and logging** built-in
|
|
348
|
-
- **Cost-effective** compared to cloud platforms
|
|
349
|
-
- **Full control** over your infrastructure
|
|
350
|
-
|
|
351
|
-
---
|
|
352
|
-
|
|
353
|
-
**Coolify provides a powerful, self-hosted alternative to expensive cloud platforms while maintaining simplicity and automation!** 🚀
|
|
@@ -1,345 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Self-hosted PaaS deployment with Coolify
|
|
3
|
-
mode: subagent
|
|
4
|
-
tools:
|
|
5
|
-
read: true
|
|
6
|
-
write: false
|
|
7
|
-
edit: false
|
|
8
|
-
bash: true
|
|
9
|
-
glob: true
|
|
10
|
-
grep: true
|
|
11
|
-
webfetch: true
|
|
12
|
-
task: true
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
# Coolify Provider Guide
|
|
16
|
-
|
|
17
|
-
<!-- AI-CONTEXT-START -->
|
|
18
|
-
|
|
19
|
-
## Quick Reference
|
|
20
|
-
|
|
21
|
-
- **Type**: Self-hosted PaaS (Docker-based)
|
|
22
|
-
- **Install**: `curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash`
|
|
23
|
-
- **Access**: `https://server-ip:8000`
|
|
24
|
-
- **Config**: `configs/coolify-config.json`
|
|
25
|
-
- **Commands**: `coolify-helper.sh [list|connect|open|status|apps|exec] [server] [args]`
|
|
26
|
-
- **Features**: Auto SSL, GitHub/GitLab/Bitbucket integration, PostgreSQL/MySQL/MongoDB/Redis
|
|
27
|
-
- **SSH**: Ed25519 keys recommended
|
|
28
|
-
- **Ports**: 22 (SSH), 80 (HTTP), 443 (HTTPS), 8000 (Coolify UI)
|
|
29
|
-
<!-- AI-CONTEXT-END -->
|
|
30
|
-
|
|
31
|
-
Coolify is a self-hosted, open-source alternative to Vercel, Netlify, and Heroku that simplifies application deployment using Docker containers.
|
|
32
|
-
|
|
33
|
-
## Provider Overview
|
|
34
|
-
|
|
35
|
-
### **Coolify Characteristics:**
|
|
36
|
-
|
|
37
|
-
- **Deployment Type**: Self-hosted PaaS (Platform as a Service)
|
|
38
|
-
- **Technology**: Docker-based containerization
|
|
39
|
-
- **Git Integration**: GitHub, GitLab, Bitbucket, self-hosted Git
|
|
40
|
-
- **Languages**: Node.js, Python, PHP, Go, Rust, static sites, Docker
|
|
41
|
-
- **Databases**: PostgreSQL, MySQL, MongoDB, Redis, and more
|
|
42
|
-
- **SSL**: Automatic Let's Encrypt certificate management
|
|
43
|
-
- **Monitoring**: Built-in application and server monitoring
|
|
44
|
-
|
|
45
|
-
### **Best Use Cases:**
|
|
46
|
-
|
|
47
|
-
- **Self-hosted deployments** with full control
|
|
48
|
-
- **Cost-effective alternative** to cloud platforms
|
|
49
|
-
- **Docker-based applications** and microservices
|
|
50
|
-
- **Rapid prototyping** and development environments
|
|
51
|
-
- **Multi-environment deployments** (dev, staging, prod)
|
|
52
|
-
- **Team collaboration** with shared deployment platform
|
|
53
|
-
|
|
54
|
-
## 🔧 **Configuration**
|
|
55
|
-
|
|
56
|
-
### **Setup Configuration:**
|
|
57
|
-
|
|
58
|
-
```bash
|
|
59
|
-
# Copy template
|
|
60
|
-
cp configs/coolify-config.json.txt configs/coolify-config.json
|
|
61
|
-
|
|
62
|
-
# Edit with your actual server details
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
### **Multi-Server Configuration:**
|
|
66
|
-
|
|
67
|
-
```json
|
|
68
|
-
{
|
|
69
|
-
"servers": {
|
|
70
|
-
"coolify-main": {
|
|
71
|
-
"name": "Main Coolify Server",
|
|
72
|
-
"host": "coolify.yourdomain.com",
|
|
73
|
-
"ip": "your-server-ip",
|
|
74
|
-
"coolify_url": "https://coolify.yourdomain.com",
|
|
75
|
-
"ssh_key": "~/.ssh/id_ed25519"
|
|
76
|
-
},
|
|
77
|
-
"coolify-staging": {
|
|
78
|
-
"name": "Staging Coolify Server",
|
|
79
|
-
"host": "staging-coolify.yourdomain.com",
|
|
80
|
-
"ip": "staging-server-ip",
|
|
81
|
-
"coolify_url": "https://staging-coolify.yourdomain.com",
|
|
82
|
-
"ssh_key": "~/.ssh/id_ed25519"
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
"api_configuration": {
|
|
86
|
-
"main_server": {
|
|
87
|
-
"api_token": "your-coolify-api-token",
|
|
88
|
-
"base_url": "https://coolify.yourdomain.com/api/v1"
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
### **Initial Server Setup:**
|
|
95
|
-
|
|
96
|
-
```bash
|
|
97
|
-
# Install Coolify on your server
|
|
98
|
-
curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash
|
|
99
|
-
|
|
100
|
-
# Access Coolify dashboard
|
|
101
|
-
# https://your-server-ip:8000
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
## 🚀 **Usage Examples**
|
|
105
|
-
|
|
106
|
-
### **Server Management:**
|
|
107
|
-
|
|
108
|
-
```bash
|
|
109
|
-
# List Coolify servers
|
|
110
|
-
./.agent/scripts/coolify-helper.sh list
|
|
111
|
-
|
|
112
|
-
# Connect to server
|
|
113
|
-
./.agent/scripts/coolify-helper.sh connect coolify-main
|
|
114
|
-
|
|
115
|
-
# Open Coolify web interface
|
|
116
|
-
./.agent/scripts/coolify-helper.sh open coolify-main
|
|
117
|
-
|
|
118
|
-
# Check server status
|
|
119
|
-
./.agent/scripts/coolify-helper.sh status coolify-main
|
|
120
|
-
```
|
|
121
|
-
|
|
122
|
-
### **Application Management:**
|
|
123
|
-
|
|
124
|
-
```bash
|
|
125
|
-
# List applications
|
|
126
|
-
./.agent/scripts/coolify-helper.sh apps main_server
|
|
127
|
-
|
|
128
|
-
# Execute commands on server
|
|
129
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'docker ps'
|
|
130
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'df -h'
|
|
131
|
-
|
|
132
|
-
# Check Docker containers
|
|
133
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'docker logs container-name'
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
### **SSH Configuration:**
|
|
137
|
-
|
|
138
|
-
```bash
|
|
139
|
-
# Generate SSH configs
|
|
140
|
-
./.agent/scripts/coolify-helper.sh generate-ssh-configs
|
|
141
|
-
|
|
142
|
-
# Then use simplified SSH
|
|
143
|
-
ssh coolify-main
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
## 🛡️ **Security Best Practices**
|
|
147
|
-
|
|
148
|
-
### **Server Security:**
|
|
149
|
-
|
|
150
|
-
```bash
|
|
151
|
-
# Configure firewall
|
|
152
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'ufw allow 22/tcp'
|
|
153
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'ufw allow 80/tcp'
|
|
154
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'ufw allow 443/tcp'
|
|
155
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'ufw allow 8000/tcp'
|
|
156
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'ufw enable'
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
### **SSH Key Management:**
|
|
160
|
-
|
|
161
|
-
- **Use Ed25519 keys**: More secure and faster
|
|
162
|
-
- **Key rotation**: Regular key rotation schedule
|
|
163
|
-
- **Access control**: Limit SSH access to specific IPs
|
|
164
|
-
- **Backup keys**: Maintain backup access methods
|
|
165
|
-
|
|
166
|
-
### **Application Security:**
|
|
167
|
-
|
|
168
|
-
- **Environment variables**: Secure configuration management
|
|
169
|
-
- **HTTPS enforcement**: Automatic SSL for all applications
|
|
170
|
-
- **Container isolation**: Docker provides application isolation
|
|
171
|
-
- **Regular updates**: Keep Coolify and applications updated
|
|
172
|
-
|
|
173
|
-
## 🔍 **Troubleshooting**
|
|
174
|
-
|
|
175
|
-
### **Common Issues:**
|
|
176
|
-
|
|
177
|
-
#### **Deployment Failures:**
|
|
178
|
-
|
|
179
|
-
```bash
|
|
180
|
-
# Check build logs in Coolify dashboard
|
|
181
|
-
# Verify build commands and dependencies
|
|
182
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'docker logs build-container'
|
|
183
|
-
|
|
184
|
-
# Check disk space
|
|
185
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'df -h'
|
|
186
|
-
|
|
187
|
-
# Check memory usage
|
|
188
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'free -h'
|
|
189
|
-
```
|
|
190
|
-
|
|
191
|
-
#### **SSL Certificate Issues:**
|
|
192
|
-
|
|
193
|
-
```bash
|
|
194
|
-
# Verify domain DNS
|
|
195
|
-
nslookup yourdomain.com
|
|
196
|
-
|
|
197
|
-
# Check Let's Encrypt logs
|
|
198
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'docker logs coolify'
|
|
199
|
-
|
|
200
|
-
# Manual certificate renewal
|
|
201
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'certbot renew'
|
|
202
|
-
```
|
|
203
|
-
|
|
204
|
-
#### **Application Not Accessible:**
|
|
205
|
-
|
|
206
|
-
```bash
|
|
207
|
-
# Check application status
|
|
208
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'docker ps'
|
|
209
|
-
|
|
210
|
-
# Check application logs
|
|
211
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'docker logs app-container'
|
|
212
|
-
|
|
213
|
-
# Verify port configuration
|
|
214
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'netstat -tlnp'
|
|
215
|
-
```
|
|
216
|
-
|
|
217
|
-
## 📊 **Performance Optimization**
|
|
218
|
-
|
|
219
|
-
### **Server Resources:**
|
|
220
|
-
|
|
221
|
-
```bash
|
|
222
|
-
# Monitor resource usage
|
|
223
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'htop'
|
|
224
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'iostat -x 1'
|
|
225
|
-
|
|
226
|
-
# Docker resource usage
|
|
227
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'docker stats'
|
|
228
|
-
```
|
|
229
|
-
|
|
230
|
-
### **Application Performance:**
|
|
231
|
-
|
|
232
|
-
- **Resource limits**: Set appropriate CPU/memory limits
|
|
233
|
-
- **Health checks**: Configure application health checks
|
|
234
|
-
- **Caching**: Implement Redis caching where appropriate
|
|
235
|
-
- **CDN**: Use CDN for static assets
|
|
236
|
-
|
|
237
|
-
### **Database Optimization:**
|
|
238
|
-
|
|
239
|
-
```bash
|
|
240
|
-
# Monitor database performance
|
|
241
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'docker exec postgres-container pg_stat_activity'
|
|
242
|
-
|
|
243
|
-
# Database backups
|
|
244
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'docker exec postgres-container pg_dump dbname > backup.sql'
|
|
245
|
-
```
|
|
246
|
-
|
|
247
|
-
## 🔄 **Backup & Disaster Recovery**
|
|
248
|
-
|
|
249
|
-
### **Application Backups:**
|
|
250
|
-
|
|
251
|
-
- **Git repositories**: Source code in version control
|
|
252
|
-
- **Database backups**: Automated database backups
|
|
253
|
-
- **Volume backups**: Docker volume snapshots
|
|
254
|
-
- **Configuration backups**: Coolify configuration exports
|
|
255
|
-
|
|
256
|
-
### **Server Snapshots:**
|
|
257
|
-
|
|
258
|
-
```bash
|
|
259
|
-
# Create server snapshot (if on cloud provider)
|
|
260
|
-
# Hetzner: Create snapshot via API
|
|
261
|
-
# DigitalOcean: Create snapshot via API
|
|
262
|
-
# AWS: Create AMI snapshot
|
|
263
|
-
```
|
|
264
|
-
|
|
265
|
-
## 🐳 **Docker & Container Management**
|
|
266
|
-
|
|
267
|
-
### **Container Operations:**
|
|
268
|
-
|
|
269
|
-
```bash
|
|
270
|
-
# List containers
|
|
271
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'docker ps -a'
|
|
272
|
-
|
|
273
|
-
# Container logs
|
|
274
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'docker logs -f container-name'
|
|
275
|
-
|
|
276
|
-
# Execute in container
|
|
277
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'docker exec -it container-name bash'
|
|
278
|
-
|
|
279
|
-
# Container resource usage
|
|
280
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'docker stats container-name'
|
|
281
|
-
```
|
|
282
|
-
|
|
283
|
-
### **Image Management:**
|
|
284
|
-
|
|
285
|
-
```bash
|
|
286
|
-
# List images
|
|
287
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'docker images'
|
|
288
|
-
|
|
289
|
-
# Clean up unused images
|
|
290
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'docker image prune -a'
|
|
291
|
-
|
|
292
|
-
# Clean up unused volumes
|
|
293
|
-
./.agent/scripts/coolify-helper.sh exec coolify-main 'docker volume prune'
|
|
294
|
-
```
|
|
295
|
-
|
|
296
|
-
## 📚 **Best Practices**
|
|
297
|
-
|
|
298
|
-
### **Deployment Workflow:**
|
|
299
|
-
|
|
300
|
-
1. **Local development**: Develop and test locally
|
|
301
|
-
2. **Git integration**: Push to Git repository
|
|
302
|
-
3. **Automatic deployment**: Coolify deploys automatically
|
|
303
|
-
4. **Health checks**: Monitor application health
|
|
304
|
-
5. **Rollback capability**: Quick rollback if issues occur
|
|
305
|
-
|
|
306
|
-
### **Environment Management:**
|
|
307
|
-
|
|
308
|
-
- **Separate environments**: Dev, staging, production
|
|
309
|
-
- **Environment variables**: Secure configuration management
|
|
310
|
-
- **Database separation**: Separate databases per environment
|
|
311
|
-
- **Domain management**: Clear domain naming conventions
|
|
312
|
-
|
|
313
|
-
### **Monitoring & Maintenance:**
|
|
314
|
-
|
|
315
|
-
- **Application monitoring**: Built-in Coolify monitoring
|
|
316
|
-
- **Server monitoring**: System resource monitoring
|
|
317
|
-
- **Log management**: Centralized log collection
|
|
318
|
-
- **Backup verification**: Regular backup testing
|
|
319
|
-
|
|
320
|
-
## 🎯 **AI Assistant Integration**
|
|
321
|
-
|
|
322
|
-
### **Automated Deployment:**
|
|
323
|
-
|
|
324
|
-
- **Git webhook integration**: Automatic deployments on push
|
|
325
|
-
- **Build automation**: Automated build processes
|
|
326
|
-
- **Testing integration**: Automated testing before deployment
|
|
327
|
-
- **Rollback automation**: Automated rollback on failure
|
|
328
|
-
|
|
329
|
-
### **Monitoring & Alerts:**
|
|
330
|
-
|
|
331
|
-
- **Health monitoring**: Automated health checks
|
|
332
|
-
- **Performance monitoring**: Resource usage tracking
|
|
333
|
-
- **Error alerting**: Automated error notifications
|
|
334
|
-
- **Capacity planning**: Automated scaling recommendations
|
|
335
|
-
|
|
336
|
-
### **Development Workflows:**
|
|
337
|
-
|
|
338
|
-
- **Environment provisioning**: Automated environment setup
|
|
339
|
-
- **Database migrations**: Automated database updates
|
|
340
|
-
- **SSL management**: Automated certificate renewal
|
|
341
|
-
- **Backup scheduling**: Automated backup processes
|
|
342
|
-
|
|
343
|
-
---
|
|
344
|
-
|
|
345
|
-
**Coolify provides a powerful, self-hosted deployment platform that combines the simplicity of modern PaaS with the control of self-hosting.** 🚀
|