Snipe-IT Inventory System
1. Project Scope and Purpose
This project documents the deployment of the Snipe-IT IT asset management system on my home server running TrueNAS SCALE.
Snipe-IT is used for managing IT equipment inventory for regional offices.
- Track hardware assets and licenses
- Manage IT inventory remotely
- Automate asset lifecycle and reporting
2. Hardware Details
- Server: UGREEN DXP 2800
- CPU: Intel N100
- RAM: 16GB DDR5
- Storage: 1TB SSD (system/apps), 2TB HDD (storage)
- Network: Gigabit LAN
3. Installation Steps
- Prepare TrueNAS SCALE with required datasets
- Deploy Snipe-IT using Docker Compose
- Configure MySQL database and user
- Set up web access and SSL via Cloudflare Tunnel
- Test and finalize installation
4. Storage Configuration
Snipe-IT data stored in dataset Pool/config/snipeit with permissions set to 1000:1000 and chmod 775.
Database files on SSD for performance.
5. Docker App Management
Installed using Docker Compose YAML with volumes mapped to datasets.
Uses MariaDB container for database backend.
Regular backups scheduled using TrueNAS snapshot and export.
6. Networking and Remote Access
- Local access via LAN IP
- Public access secured by Cloudflare Tunnel at snipeit.bikrambhujel.com.np
- Firewall rules allow secure access only
7. Services Running
- Snipe-IT web application
- MySQL database server
- Cloudflare Tunnel service
8. Backup and Monitoring
- Daily dataset snapshots
- Database dumps scheduled weekly
- Monitoring via TrueNAS dashboard and container logs
9. Challenges Faced
- Database connection issues due to incorrect credentials
- Permission errors resolved by adjusting dataset ownership
- Initial SSL certificate problems fixed with Cloudflare config
10. Access and Security
- SSH access to server secured by key authentication
- Web access protected by Cloudflare Tunnel and HTTPS
- Regular updates applied to Docker images and TrueNAS
11. Future Plans
- Integrate Snipe-IT with LDAP for user management
- Automate alerts for asset lifecycle events
- Expand storage for larger inventory data
12. Host It on Your Domain
Accessible via subdomain snipeit.bikrambhujel.com.np, configured through Cloudflare with reverse proxy and SSL.
Hosted inside TrueNAS SCALE using Docker containers.