📚 Modern digital library management system with embedded SQLite, multilingual support, and PWA ca
1.0K
Lectoria is a professional, full-stack digital library management system built with Node.js and React. Upload, organize, and share your PDF and EPUB files with enterprise-grade security, beautiful cover images, and advanced sharing capabilities.
🔗 GitHub Repository: chicohaager/lectoria
# Run Lectoria with embedded SQLite database and proper permissions
docker run -d \
--name lectoria \
-p 3000:3000 \
-e PUID=1000 \
-e PGID=1000 \
-e JWT_SECRET="your-secret-key-here" \
-v lectoria-data:/app/data \
-v lectoria-uploads:/app/uploads \
chicohaager/lectoria:latest
PUID/PGID Support: Set PUID and PGID to your user/group IDs for proper file permissions (run id to find yours).
version: '3.8'
services:
lectoria:
image: chicohaager/lectoria:latest
container_name: lectoria
ports:
- "3000:3000"
environment:
- NODE_ENV=production
- JWT_SECRET=your-secure-secret-key
- DB_PATH=/app/data/lectoria.db
volumes:
- lectoria-data:/app/data
- lectoria-uploads:/app/uploads
restart: unless-stopped
volumes:
lectoria-data:
lectoria-uploads:
Access: http://localhost:3000
Default Login: admin / admin123
Frontend: React 18 + Material-UI
Backend: Node.js + Express.js
Database: SQLite (embedded, no setup required!)
Storage: File system with validation
Authentication: JWT with bcrypt
| Variable | Default | Description |
|---|---|---|
NODE_ENV | production | Application environment |
PORT | 3000 | Server port |
JWT_SECRET | required | JWT signing secret |
DB_PATH | /app/data/lectoria.db | SQLite database path |
| Container Path | Purpose | Size Estimate |
|---|---|---|
/app/data | SQLite database | ~50MB |
/app/uploads | PDF/EPUB files | Varies |
⚠️ Important: Always use persistent volumes for production to retain data across container updates.
volumes:
- /DATA/AppData/lectoria/data:/app/data
- /DATA/AppData/lectoria/uploads:/app/uploads
volumes:
- /volume1/docker/lectoria/data:/app/data
- /volume1/docker/lectoria/uploads:/app/uploads
volumes:
- /share/Container/lectoria/data:/app/data
- /share/Container/lectoria/uploads:/app/uploads
| Tag | Description | Size |
|---|---|---|
latest | Latest stable release (SQLite) | ~180MB |
v2.4 | Version 2.4 with SQLite (simplified deployment) | ~180MB |
v2.3 | Version 2.3 with PWA support | ~200MB |
v2.1 | Version 2.1 with dark mode & multilingual support | ~200MB |
v2.0 | Version 2.0 with cover images | ~200MB |
v1.0 | Initial release | ~180MB |
openssl rand -hex 32)Contributions welcome! Check our contributing guidelines and feel free to submit issues or pull requests.
MIT License - Free for personal and commercial use.
Created by @chicohaager | ⭐ Star on GitHub
Content type
Image
Digest
sha256:84548d15d…
Size
206.3 MB
Last updated
about 1 year ago
docker pull chicohaager/lectoria