22d9f5b21d
Novas skills instaladas: - openclaw-agent-browser v1.0.0 CLI Chromium — navegação, login, screenshots, state - skill-security-audit v1.0.0 SAST scanning, prompt injection, secrets audit - sql-toolkit v1.0.0 PostgreSQL/MySQL/SQLite — schema, query, otimização - file v1.0.0 Organização de arquivos por contexto - file-summary v1.0.0 Extração e resumo de PDFs, Word, Excel Workspace expandido: - TOOLS.md: +Browser automation, Security audit, SQL, File management - AGENTS.md: +Linux Analyst section (comandos, logs, rede, scripts) + Full-stack strategy - MEMORY.md: 16 skills indexadas, stack map, comandos Linux ref - SESSION-STATE.md: atualizado com contexto completo - lock.json: sincronizado com 16 skills instaladas
62 lines
1.9 KiB
Markdown
62 lines
1.9 KiB
Markdown
# xCloud Deployment Paths: Docker vs Native
|
|
|
|
## Two Paths Available
|
|
|
|
### Path 1 — xCloud Native (Git Push Deploy)
|
|
|
|
xCloud natively supports these stacks without Docker:
|
|
- **WordPress** — managed WordPress hosting with auto-config
|
|
- **Laravel** — PHP-FPM, Composer install, artisan commands
|
|
- **PHP** — generic PHP apps (CodeIgniter, Symfony, etc.)
|
|
- **Node.js** — npm/yarn install, process management
|
|
|
|
How it works:
|
|
```
|
|
git push → xCloud: git pull + composer install (or npm install) + reload
|
|
```
|
|
|
|
Advantages:
|
|
- Simpler setup — no Dockerfile needed
|
|
- Faster deploys (no image build/pull)
|
|
- xCloud manages PHP version, extensions, process manager
|
|
- Direct file access via SFTP
|
|
|
|
When to choose Native:
|
|
- Standard single-language app
|
|
- Standard database (MySQL/MariaDB only)
|
|
- No custom runtime dependencies
|
|
|
|
### Path 2 — Custom Docker Deploy
|
|
|
|
Use Docker when:
|
|
- App requires non-standard runtime (Python, Go, Rust, Java)
|
|
- Multiple services (API + queue worker + Redis)
|
|
- Framework requires build step (Next.js, Nuxt.js, NestJS)
|
|
- Custom dependencies not available via apt/pecl
|
|
- Already containerized (existing docker-compose.yml)
|
|
|
|
How it works:
|
|
```
|
|
git push → xCloud: git pull + docker-compose pull + docker-compose up -d
|
|
```
|
|
|
|
Constraints (see xcloud-constraints.md for full list):
|
|
- No `build:` in compose — images must be pre-built in public registry
|
|
- Single exposed port
|
|
- No Caddy/Traefik/nginx-proxy (xCloud handles SSL + reverse proxy)
|
|
|
|
## Decision Matrix
|
|
|
|
| Stack | DB Needs | Background Jobs | Recommended Path |
|
|
|---|---|---|---|
|
|
| WordPress | MySQL only | No | Native |
|
|
| Laravel | MySQL only | No | Native |
|
|
| Laravel | MySQL + Redis + Queue workers | Yes | Docker |
|
|
| PHP generic | MySQL only | No | Native |
|
|
| Node.js (Express/Fastify) | Any | No | Native |
|
|
| Next.js | Any | No | Docker |
|
|
| NestJS | Any | Any | Docker |
|
|
| Python (FastAPI/Django) | Any | Any | Docker |
|
|
| Go / Rust / Java | Any | Any | Docker |
|
|
| Multi-service app | Any | Any | Docker |
|