No description
install-cyberchef.sh | ||
LICENSE | ||
README.md |
Docker Installation Scripts for CloudPanel
A collection of installation scripts for deploying various Docker applications with CloudPanel integration. These scripts provide automated installation, configuration, and troubleshooting for popular self-hosted applications.
🚀 Features
- Automated Docker and application installation
- CloudPanel integration support
- Robust error handling and logging
- Port conflict detection
- Automatic service health checks
- Backup and restore functionality
- Comprehensive troubleshooting guides
📋 Available Scripts
CyberChef Installation Script
- Web-based cyber security toolkit deployment
- Single container setup
- Port availability verification
- Health monitoring
- CloudPanel reverse proxy support
🔧 Prerequisites
- Ubuntu 24.04 ONLY
- Root access or sudo privileges
- CloudPanel pre-installed
- Domain/subdomain pointing to your server
📥 Installation
- Download this script:
wget https://git.hhf.technology/hhf/cyberchef_ngx_cloudpanel/raw/branch/main/install-cyberchef.sh
- Make scripts executable:
chmod +x install-cyberchef.sh
- Run desired installation script:
sudo ./install-cyberchef.sh
🛠️ Usage Examples
Installing CyberChef:
sudo ./install-cyberchef.sh
# Configure CloudPanel reverse proxy after installation
⚙️ Configuration
Each script includes the following configurable elements:
CyberChef Script
- Port settings
- Network configuration
- Volume mappings
🔍 Troubleshooting
Common Issues and Solutions
- Port Conflicts:
# Check for port usage
sudo lsof -i :port_number
# Kill conflicting process
sudo kill process_id
- Container Health Check Failures:
# View container logs
docker compose logs service_name
# Restart service
docker compose restart service_name
- Permission Issues:
# Fix volume permissions
sudo chown -R 1000:1000 /path/to/volume
🔒 Security Recommendations
- Always use HTTPS with valid SSL certificates
- Regularly update Docker and containers
- Implement proper firewall rules
- Use strong passwords for services
- Regular backup of important data
📝 Logging
Logs are stored in the following locations:
- Docker:
/var/log/docker.log
- CyberChef:
/var/log/cyberchef-install.log
🔄 Updates
To update installed applications:
cd /docker/application_name
docker compose pull
docker compose up -d
💾 Backup and Restore
Backup:
# For any application
cd /docker
tar -czf application_backup.tar.gz application_name/
Restore:
cd /docker
tar -xzf application_backup.tar.gz
cd application_name
docker compose up -d
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgments
- CloudPanel team for their excellent platform
- Docker community for container solutions
- Original application developers (CyberChef)
📞 Support
For support:
- Check the troubleshooting guides
- Review the application logs
- Join our community discussions
⌨️ with ❤️ by HHF Technology