refactor: make optimized Dockerfile the default - remove full variant

- Rename Dockerfile.optimized to Dockerfile (now the default)
- Keep old Dockerfile as Dockerfile.old for reference
- Update GitHub Actions to use default Dockerfile
- Remove build-full job - only one image variant now
- Remove docker-compose.optimized.yml and other variants
- Update all documentation to reflect single image approach

The optimized 283MB image is now the only n8n-MCP Docker image.
This simplifies the user experience and provides the best solution
for all use cases.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
czlonkowski
2025-06-14 14:00:36 +02:00
parent e90971b2d8
commit 88dd66bb7a
12 changed files with 167 additions and 408 deletions

View File

@@ -33,11 +33,10 @@ curl http://localhost:3000/health
### 2. Using Pre-built Images
Pre-built images are available on GitHub Container Registry in two variants:
Pre-built images are available on GitHub Container Registry:
#### Optimized Image (Recommended)
```bash
# Pull the optimized image (~200MB)
# Pull the latest image (~283MB)
docker pull ghcr.io/czlonkowski/n8n-mcp:latest
# Run with HTTP mode
@@ -49,21 +48,6 @@ docker run -d \
ghcr.io/czlonkowski/n8n-mcp:latest
```
#### Full Image (Development)
```bash
# Pull the full image with n8n packages (2.6GB)
docker pull ghcr.io/czlonkowski/n8n-mcp:full
# Run with dynamic node scanning capability
docker run -d \
--name n8n-mcp-full \
-e MCP_MODE=http \
-e AUTH_TOKEN=your-secure-token \
-p 3000:3000 \
-v n8n-mcp-data:/app/data \
ghcr.io/czlonkowski/n8n-mcp:full
```
## 📋 Configuration Options
### Environment Variables
@@ -439,31 +423,16 @@ secrets:
## 📦 Available Images
### Optimized Images (~200MB)
- `ghcr.io/czlonkowski/n8n-mcp:latest` - Latest optimized release
- `ghcr.io/czlonkowski/n8n-mcp:2.3.0` - Specific version (optimized)
- `ghcr.io/czlonkowski/n8n-mcp:main-abc123` - Development builds (optimized)
### Full Images (2.6GB)
- `ghcr.io/czlonkowski/n8n-mcp:full` - Latest full release
- `ghcr.io/czlonkowski/n8n-mcp:2.3.0-full` - Specific version (full)
- `ghcr.io/czlonkowski/n8n-mcp:main-full` - Development builds (full)
- `ghcr.io/czlonkowski/n8n-mcp:latest` - Latest stable release
- `ghcr.io/czlonkowski/n8n-mcp:2.3.0` - Specific version
- `ghcr.io/czlonkowski/n8n-mcp:main-abc123` - Development builds
### Image Details
#### Optimized Variant
- Base: `node:20-alpine`
- Size: ~200MB compressed
- Features: Pre-built database, minimal runtime
- Use case: Production deployments
#### Full Variant
- Base: `node:20-alpine`
- Size: ~2.6GB compressed
- Features: Full n8n packages, dynamic scanning
- Use case: Development, custom nodes
Both variants:
- Size: ~283MB compressed
- Features: Pre-built database with all node information
- Database: Complete SQLite with 525+ nodes
- Architectures: `linux/amd64`, `linux/arm64`
- Updated: Automatically via GitHub Actions