409e92d6ae
Dependency Compatibility Check / Fresh Install Dependency Check (push) Waiting to run
Build and Publish n8n Docker Image / test-image (push) Blocked by required conditions
Build and Publish n8n Docker Image / build-and-push (push) Waiting to run
Build and Publish n8n Docker Image / create-release (push) Blocked by required conditions
Build and Push Docker Images / Build Docker Image (push) Has been cancelled
Build and Push Docker Images / Build Railway Docker Image (push) Has been cancelled
Automated Release / Detect Version Change (push) Waiting to run
Automated Release / Generate Release Notes (push) Blocked by required conditions
Automated Release / Create GitHub Release (push) Blocked by required conditions
Automated Release / Package MCPB Bundle (push) Blocked by required conditions
Automated Release / Build and Verify (push) Blocked by required conditions
Automated Release / Publish to NPM (push) Blocked by required conditions
Automated Release / Build and Push Docker Images (push) Blocked by required conditions
Secret Scan / secretlint (push) Waiting to run
Test Suite / test (push) Waiting to run
Test Suite / cjs-runtime (push) Waiting to run
Test Suite / publish-results (push) Blocked by required conditions
Automated Release / Update Documentation (push) Blocked by required conditions
Automated Release / Notify Release Completion (push) Blocked by required conditions
49 lines
1.5 KiB
YAML
49 lines
1.5 KiB
YAML
version: '3.8'
|
|
|
|
services:
|
|
# Latest n8n container for node extraction
|
|
n8n-latest:
|
|
image: n8nio/n8n:latest
|
|
container_name: n8n-latest-extractor
|
|
environment:
|
|
- N8N_BASIC_AUTH_ACTIVE=false
|
|
- N8N_PORT=5678
|
|
- N8N_ENCRYPTION_KEY=dummy-key-for-extraction
|
|
volumes:
|
|
# Mount n8n's node_modules for extraction
|
|
- n8n_modules:/usr/local/lib/node_modules/n8n/node_modules
|
|
# Provide writable directory for n8n config
|
|
- n8n_config:/home/node/.n8n
|
|
# We don't need n8n to stay running, just to install modules
|
|
entrypoint: ["sh", "-c", "sleep 300"]
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "ls /usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base > /dev/null 2>&1"]
|
|
interval: 5s
|
|
timeout: 30s
|
|
retries: 20
|
|
|
|
# Extractor service that will read from the mounted volumes
|
|
node-extractor:
|
|
image: node:22-alpine
|
|
container_name: n8n-node-extractor
|
|
working_dir: /app
|
|
depends_on:
|
|
n8n-latest:
|
|
condition: service_healthy
|
|
volumes:
|
|
# Mount the n8n modules from the n8n container
|
|
- n8n_modules:/n8n-modules:ro
|
|
- n8n_custom:/n8n-custom:ro
|
|
# Mount our project files
|
|
- ./:/app
|
|
environment:
|
|
- NODE_ENV=development
|
|
- NODE_DB_PATH=/app/data/nodes-fresh.db
|
|
- N8N_MODULES_PATH=/n8n-modules
|
|
- N8N_CUSTOM_PATH=/n8n-custom
|
|
command: /bin/sh -c "apk add --no-cache sqlite && node /app/scripts/extract-from-docker.js"
|
|
|
|
volumes:
|
|
n8n_modules:
|
|
n8n_custom:
|
|
n8n_config: |