mirror of
https://github.com/MengMengCode/CLICD.git
synced 2026-12-04 04:21:22 +08:00
Add offline disk growth and managed data disks, portable full backups and restore, independent clones and batch instance templates, and local ISO and QCOW2 uploads. Persist task details and metric history in SQLite. Replace hand-drawn host and instance charts with shadcn/ui Chart and Recharts, keep numeric values and units together, and preserve responsive layouts, icons, time ranges and full-sample statistics. Validation: backend tests and vet; Linux KVM/LXC/API/config/server tests; frontend and documentation production builds; real disk, reinstall, backup, clone, upload, task-history and NAT tests; 37 cross-host restore checks; responsive chart checks and read-only deployed verification. Guest Windows restore behavior has not been tested on a running Windows VM.
1.3 KiB
1.3 KiB
Deployment
CLICD can run directly on the host or behind a reverse proxy. In production, set up access control before exposing it to administrators.
Service Exposure
The default web port is 8999:
http://YOUR_SERVER_IP:8999
Recommendations:
- Allow only fixed administrator IPs.
- Use a reverse proxy with HTTPS.
- Do not expose the real login URL in public docs or screenshots.
systemd
Common commands:
systemctl status clicd
systemctl restart clicd
systemctl enable clicd
journalctl -u clicd -f
Firewall
At minimum, confirm:
- The panel port is open only to trusted sources.
- NAT mapped ports are opened only as needed.
- The SSH management port does not conflict with container mappings.
- IPv6 firewall rules are planned together with IPv4 rules.
Backups
Back up regularly:
- CLICD configuration directory.
- SQLite database.
- Container configuration.
- Snapshots or external data backups for important containers.
Full instance backups include the system disk and all managed data disks and support download/import. They do not replace configuration/database backups; task and metric history remains in the panel SQLite database. Use full backups for instances with data disks instead of existing system-disk snapshots.