- Add CONTEXT.md with ADHD-optimized task management patterns - Add troubleshooting guide for productivity tools - Add n8n workflow documentation including Ko-fi integration - Document n8n at LXC 210 (10.10.0.210) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| examples | ||
| workflows | ||
| CONTEXT.md | ||
| README.md | ||
| troubleshooting.md | ||
n8n Workflow Automation - Quick Reference
Self-hosted n8n instance at https://n8n.manticorum.com/
Quick Links
- Web UI: https://n8n.manticorum.com/
- Documentation: CONTEXT.md - Complete technical documentation
- Troubleshooting: troubleshooting.md - Common issues and solutions
- Examples: examples/ - Configuration templates
At a Glance
| Property | Value |
|---|---|
| URL | https://n8n.manticorum.com/ |
| Internal IP | 10.10.0.210 |
| Container | LXC 210 (docker-n8n-lxc) |
| Resources | 4 CPU, 8GB RAM, 128GB disk |
| Database | PostgreSQL 15 |
| Deployment | 2025-11-13 |
Quick Commands
# SSH into n8n host
ssh -i ~/.ssh/homelab_rsa root@10.10.0.210
# View logs
ssh root@10.10.0.210 "cd /opt/n8n && docker compose logs -f n8n"
# Restart n8n
ssh root@10.10.0.210 "cd /opt/n8n && docker compose restart n8n"
# Backup database
ssh root@10.10.0.210 "cd /opt/n8n && docker compose exec -T postgres pg_dump -U n8n n8n > /root/n8n-backup-\$(date +%Y%m%d).sql"
# Update to latest version
ssh root@10.10.0.210 "cd /opt/n8n && docker compose pull && docker compose up -d"
# Check status
ssh root@10.10.0.210 "cd /opt/n8n && docker compose ps"
File Locations
| Path | Description |
|---|---|
/opt/n8n/docker-compose.yml |
Container configuration |
/opt/n8n/.env |
Environment variables and secrets |
n8n_data volume |
Workflows, credentials, settings |
n8n_postgres_data volume |
PostgreSQL database |
Access Credentials
Location: /opt/n8n/.env on LXC 210
View current credentials:
ssh root@10.10.0.210 "cat /opt/n8n/.env | grep BASIC_AUTH"
Common Tasks
Create a New Workflow
- Login to https://n8n.manticorum.com/
- Click "Add workflow"
- Add nodes by clicking "+"
- Connect nodes by dragging
- Test with "Execute Workflow"
- Activate with toggle switch
Setup a Webhook
- Add "Webhook" node to workflow
- Choose HTTP Method (GET, POST, etc.)
- Set Path (e.g.,
my-webhook) - Activate workflow
- Use URL:
https://n8n.manticorum.com/webhook/my-webhook
Backup Workflows
# Backup database (includes all workflows and credentials)
ssh root@10.10.0.210 "cd /opt/n8n && docker compose exec -T postgres pg_dump -U n8n n8n" > n8n-backup.sql
# Download locally
scp -i ~/.ssh/homelab_rsa root@10.10.0.210:/root/n8n-backup-*.sql ~/backups/n8n/
View Execution History
- Login to n8n UI
- Click "Executions" in top nav
- Filter by workflow, status, or date
- Click execution to view details
Architecture
Internet
↓
Nginx Proxy Manager (NPM)
↓ HTTPS/SSL
https://n8n.manticorum.com
↓ HTTP (internal)
LXC 210 (10.10.0.210:5678)
├─ n8n Container
│ └─ Workflow Engine
└─ PostgreSQL Container
└─ Database (workflows, credentials, history)
Integration Examples
Discord Notifications
- Webhook node → Discord Webhook URL
- Message node → Format notification
- Trigger: Manual, Schedule, or Webhook
Homelab Monitoring
- HTTP Request → Check service health
- IF node → Check response code
- Discord/Email → Send alert if down
- Schedule Trigger → Run every 5 minutes
Automated Backups
- Execute Command → Run backup script
- HTTP Request → Upload to cloud storage
- Discord → Send completion notification
- Schedule Trigger → Daily at 2 AM
API Data Collection
- HTTP Request → Fetch data from API
- Set node → Transform data
- PostgreSQL → Store in database
- Schedule Trigger → Hourly
Security Best Practices
- ✅ Basic authentication enabled
- ✅ HTTPS via NPM with Let's Encrypt
- ✅ Internal network only (no direct internet exposure)
- ✅ Credentials encrypted with N8N_ENCRYPTION_KEY
- ⚠️ Never share encryption key
- ⚠️ Regularly rotate admin password
- ⚠️ Review workflow permissions
Troubleshooting Quick Checks
| Issue | Quick Check |
|---|---|
| Can't access n8n.manticorum.com | curl http://10.10.0.210:5678 |
| Login fails | Check .env file for correct credentials |
| Webhook not working | Verify workflow is Active (green toggle) |
| Slow performance | ssh root@10.10.0.210 "docker stats n8n" |
| Database errors | ssh root@10.10.0.210 "docker compose logs postgres" |
See troubleshooting.md for detailed solutions.
Resources
- Official Docs: https://docs.n8n.io/
- Community Forum: https://community.n8n.io/
- Workflow Templates: https://n8n.io/workflows/
- Discord: https://discord.gg/n8n
Maintenance Schedule
Weekly:
- Review failed executions
- Check disk space
- Monitor container health
Monthly:
- Backup database
- Update n8n version
- Clean up old execution data
- Review and archive unused workflows
Quarterly:
- Test disaster recovery
- Audit credentials
- Review webhook security
- Performance optimization
Support
For issues or questions:
- Check troubleshooting.md
- Review CONTEXT.md for configuration details
- Search n8n community forum
- Check n8n documentation
Last Updated: 2025-11-13 Deployed By: Claude Code automation Maintained By: Cal Corum