- Add CloudronManifest.json with app metadata - Create Dockerfile with multi-stage build - Install Google Chrome (Chrome for Testing) since Ubuntu Noble doesn't have chromium package - Install required Chrome dependencies (libatk, libgtk, etc.) - Add start.sh script with Xvfb setup for headless Chrome - Copy entire Chrome installation directory for proper resource access - Add .gitignore and update README with installation instructions
cloudron-flaresolverr
Proxy server to bypass Cloudflare protection. Packaged for Cloudron.
About FlareSolverr
FlareSolverr is a proxy server to bypass Cloudflare and DDoS-GUARD protection. It's particularly useful for applications like Radarr, Sonarr, Jackett, and other automation tools that need to access websites protected by Cloudflare.
Installation
Prerequisites
You need to install Cloudron CLI: Cloudron CLI Documentation
After installation, connect the CLI to your Cloudron instance:
cloudron login <your-cloudron-domain>
Build and Install
-
Build the Docker image:
docker build -t yourusername/flaresolverr:1.0.0 . -
Push the image to Docker Hub (or your preferred registry):
docker push yourusername/flaresolverr:1.0.0 -
Install the app on Cloudron:
cloudron install --image yourusername/flaresolverr:1.0.0Note: Make sure you're in the
cloudron-flaresolverrdirectory when running this command, as Cloudron CLI needs to read theCloudronManifest.jsonfile.
Usage
After installation, FlareSolverr will be available at the URL assigned by Cloudron. The default port is 8191.
You can test the service by visiting:
https://your-app-url.cloudron.app/- Shows welcome messagehttps://your-app-url.cloudron.app/health- Health check endpoint
Configuration
FlareSolverr can be configured using environment variables. Key environment variables include:
LOG_LEVEL- Logging level (default:info)HOST- Host to bind to (default:0.0.0.0)PORT- Port to listen on (default:8191)CAPTCHA_SOLVER- Captcha solver service (optional)PROXY_URL- Proxy URL (optional)PROXY_USERNAME- Proxy username (optional)PROXY_PASSWORD- Proxy password (optional)
You can set these in your Cloudron app settings under "Environment Variables".
Integration with Other Apps
To use FlareSolverr with other Cloudron apps (like Radarr, Sonarr, etc.), you'll need to:
-
Get the internal IP address of your FlareSolverr container:
docker ps docker network inspect cloudron -
Configure your application to use FlareSolverr:
- URL:
http://<flaresolverr-internal-ip>:8191 - Or use the Cloudron internal DNS if available
- URL:
Features
- ✅ Bypass Cloudflare protection
- ✅ Bypass DDoS-GUARD protection
- ✅ Headless Chrome/Chromium support
- ✅ Automatic session management
- ✅ Health check endpoint
- ✅ Prometheus metrics support
Troubleshooting
If you encounter issues:
-
Check the app logs:
cloudron logs -f flaresolverr -
Verify Chromium is working correctly inside the container
-
Ensure proper permissions on
/app/datadirectory
References
License
MIT License - see LICENSE file for details.