Add Claude N8N toolkit with Docker mock API server
- Added comprehensive N8N development tools collection - Added Docker-containerized mock API server for testing - Added complete documentation and setup guides - Added mock API server with health checks and data endpoints - Tools include workflow analyzers, debuggers, and controllers 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
24
claude_n8n/tools/mock_api_server/Dockerfile
Normal file
24
claude_n8n/tools/mock_api_server/Dockerfile
Normal file
@@ -0,0 +1,24 @@
|
||||
FROM python:3.9-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install dependencies
|
||||
RUN pip install flask werkzeug
|
||||
|
||||
# Create api_data directory
|
||||
RUN mkdir -p api_data
|
||||
|
||||
# Copy the mock API server script
|
||||
COPY mock_api_server.py .
|
||||
|
||||
# Copy API data files if they exist
|
||||
COPY api_data/ ./api_data/
|
||||
|
||||
# Expose port 5000
|
||||
EXPOSE 5000
|
||||
|
||||
# Set environment variables
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
|
||||
# Run the server
|
||||
CMD ["python", "mock_api_server.py", "--host", "0.0.0.0", "--port", "5000", "--data-dir", "api_data"]
|
||||
Reference in New Issue
Block a user