## Features ### n8n-Workflows Integration - Created n8n-workflows service to connect to external workflow database (2060 workflows available) - Added database fields: n8nWorkflowFilename, n8nWorkflowId, sourceType to Template model - Imported 100 active workflows from n8n-workflows container to marketplace - Implemented workflow JSON caching for better performance - Enhanced AI Builder with real workflow examples for improved generation quality - Scripts: import-n8n-workflows.ts, update-workflow-json.ts for workflow management ### Unified Sidebar Navigation - Created collapsible Sidebar component with hide/show toggle - Applied sidebar to all authenticated pages (dashboard, marketplace, admin) - Smart context-aware navigation: shows admin menu when on admin pages - Responsive design with mobile overlay support - Credits display and user info in sidebar footer - Smooth transitions and animations ### Admin Panel Enhancements - Moved admin panel to unified sidebar navigation - Added dedicated pages: Users, Templates, Promo Codes, Payments - Template editing functionality with price, category, and visibility controls - User management with role assignment - Consistent design across all admin pages ### Template Management - AI-generated templates page with view, download, delete capabilities - Purchased templates page with download functionality - DELETE endpoint for AI conversations - Improved purchase flow with auto-download disabled - Purchase confirmation and redirect to purchases page - Enhanced template card with unpublished state styling ### Backend Improvements - Rate limiter configuration updates - Enhanced purchase service with full template details - Template download logic with n8n-workflows fallback - AI service integration with workflow context - Environment variable for N8N_WORKFLOWS_API_URL ## Technical Details **Backend:** - New service: n8n-workflows.service.ts (237 lines) - Database migration: add_n8n_workflow_fields - MCP SDK integration (@modelcontextprotocol/sdk) - Docker exec workflow fetching **Frontend:** - New component: Sidebar.tsx (215 lines) - 5 new admin pages (templates, users, promo-codes, payments) - 2 new user pages (ai-templates, purchases) - Updated layouts for marketplace and admin sections **Statistics:** - 3,941 additions, 336 deletions - 36 files changed - 100 workflows imported from n8n-workflows database - Total marketplace templates: 105 (5 original + 100 imported) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
23 lines
917 B
YAML
23 lines
917 B
YAML
version: '3.8'
|
|
|
|
# EXAMPLE OVERRIDE FILE
|
|
# Copy this file to docker-compose.override.yml and fill in your actual secrets
|
|
# Command: cp docker-compose.override.example.yml docker-compose.override.yml
|
|
|
|
services:
|
|
backend:
|
|
environment:
|
|
# Azure OpenAI Configuration
|
|
# Get your key from: https://portal.azure.com
|
|
- AZURE_OPENAI_API_KEY=your_azure_openai_api_key_here
|
|
|
|
# Security Keys
|
|
# Generate JWT_SECRET: openssl rand -base64 32
|
|
# Generate ENCRYPTION_KEY: openssl rand -hex 32
|
|
- JWT_SECRET=your_super_secret_jwt_key_min_32_chars
|
|
- ENCRYPTION_KEY=your_64_character_hex_encryption_key_generate_with_openssl_rand_hex_32
|
|
|
|
# Stripe Configuration (optional - only if using payments)
|
|
# Get your keys from: https://dashboard.stripe.com/apikeys
|
|
- STRIPE_SECRET_KEY=sk_test_your_stripe_secret_key
|
|
- STRIPE_WEBHOOK_SECRET=whsec_your_stripe_webhook_secret
|