This is the official backend for the Leonobitech platform.
It follows a modular microservices architecture, powered by:
- ⚡ Traefik as reverse proxy with automatic HTTPS via Let's Encrypt
- 🔐 core microservice (authentication, sessions, token issuance)
- 🧠 n8n microservice (workflow automation, webhook processing)
- 🚀 Redis as secure token cache with logical DBs
- 🐳 Full Docker Compose support for local and production deployment
backend/ # Project root
├── docker-compose.yml # Production-ready Docker Compose with Traefik
├── .env # Global env config (domain, email SSL, etc.)
├── Makefile # Developer-friendly CLI tasks
├── traefik/ # Traefik config
│ ├── traefik.yml # Static configuration
│ └── acme.json # SSL cert storage (auto-generated)
└── repositories/ # All microservices live here
├── core/ # 🧠 Main backend microservice (auth/session)
├── n8n/ # ⚙️ Workflow automation (queue, webhooks, workers)
└── redis/ # 🔌 Redis config (.env + usage docs)git clone https://github.com/leonobitech/backend.git
cd backendCopy and edit .env:
cp .env.example .envAnd update:
DOMAIN_NAME=yourdomain.com
SSL_EMAIL=you@example.comdocker compose --env-file .env up -d --builddocker compose down -v --remove-orphansmake reset-test-redismake build # Build a single service
make run # Run locally (maps .env & ports)
make clean # Remove image
make reset # Full clean & rebuild
make reset-test-redis # Reset + test Redis in isolationEach service is mapped to a subdomain:
| Service | URL |
|---|---|
| core | https://core.leonobitech.com |
| n8n | https://n8n.leonobitech.com |
| redis | internal only |
| traefik | https://traefik.leonobitech.com (optional) |
- ✅ Modular microservices under
/repositories - 🔐 Authentication & Session Management (core)
- ⚙️ Scalable workflow automation with n8n (workers, webhook queues)
- ♻️ Token lifecycle via Redis (DB 2)
- ☁️ HTTPS with Let's Encrypt (Traefik)
- 🧪 Health checks per service
- 🧹 Docker cleanup scripts
- ⚙️ Production-grade settings
Leonobitech Dev Team
https://www.leonobitech.com
Made with 🧠, 🥷, and Docker love 🐳