This guide provides rapid deployment instructions for the N8N Workflows Documentation Platform.
# Quick start - builds and runs everything
./run-as-docker-container.shWhat this does:
- Builds the Docker image
- Starts the application with Docker Compose
- Performs health checks
- Opens browser automatically
- Accessible at: http://localhost:8000
# Development environment
docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build
# Production environment
docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d --build# Deploy to development
./scripts/deploy.sh development
# Deploy to production
./scripts/deploy.sh production
# Check health
./scripts/health-check.sh
# Create backup
./scripts/backup.sh# Install dependencies
pip install -r requirements.txt
# Start development server
python run.py
# Start production server
python run.py --host 0.0.0.0 --port 8000# Copy environment template
cp .env.development .env
# Edit configuration as needed
# vim .env
# Start with environment file
python run.py --dev# Apply all manifests
kubectl apply -f k8s/
# Check status
kubectl get pods -n n8n-workflows
kubectl get services -n n8n-workflows# Install with Helm
helm install workflows-docs ./helm/workflows-docs --namespace n8n-workflows --create-namespace
# Upgrade deployment
helm upgrade workflows-docs ./helm/workflows-docs
# Uninstall
helm uninstall workflows-docs --namespace n8n-workflows| Variable | Description | Default |
|---|---|---|
ENVIRONMENT |
Deployment environment | development |
HOST |
Server host | 127.0.0.1 |
PORT |
Server port | 8000 |
LOG_LEVEL |
Logging level | info |
.env.development- Development configuration.env.staging- Staging configuration.env.production- Production configuration
# Quick health check
curl http://localhost:8000/api/stats
# Detailed health check with script
./scripts/health-check.sh http://localhost:8000Once deployed, access the application at:
- Main Interface: http://localhost:8000
- API Documentation: http://localhost:8000/docs
- API Stats: http://localhost:8000/api/stats
- Health Check: http://localhost:8000/api/stats
-
Port already in use
# Use different port docker compose up -p 8001:8000 -
Database issues
# Force reindex python run.py --reindex -
Docker build fails
# Clean build docker system prune -f docker compose build --no-cache
# Docker logs
docker compose logs -f
# Application logs
tail -f logs/app.logFor complete deployment documentation, see:
- DEPLOYMENT.md - Comprehensive deployment guide
- README.md - Application overview and features
# Show deployment script help
./scripts/deploy.sh --help
# Show Python application help
python run.py --help
# Show health check help
./scripts/health-check.sh --help