mirror of
https://github.com/thecyberlearn/quantumtaskai-caprover.git
synced 2026-08-18 07:52:55 +00:00
HTTPS FIXES: - Added TLS/SSL configuration to dokploy.json with Let's Encrypt - Created production_https_settings.py with proper HTTPS Django settings - Added SSL redirect, HSTS headers, and secure cookie settings - Updated Dockerfile and startup script to use HTTPS settings - Added CSRF trusted origins for both HTTP and HTTPS - Configured Traefik proxy header handling SECURITY IMPROVEMENTS: - Force HTTPS redirect for production - HTTP Strict Transport Security (HSTS) enabled - Secure cookies (SESSION_COOKIE_SECURE, CSRF_COOKIE_SECURE) - XSS protection and content type sniffing prevention - Proper X-Forwarded-Proto header handling for Dokploy/Traefik This should resolve HTTPS certificate and redirect issues in Dokploy. |
||
|---|---|---|
| .claude/agents | ||
| .github | ||
| agents | ||
| authentication | ||
| core | ||
| docs | ||
| netcop_hub | ||
| scripts | ||
| static | ||
| templates | ||
| tests | ||
| wallet | ||
| .dockerignore | ||
| .env.dokploy.example | ||
| .env.example | ||
| .env.production.template | ||
| .gitignore | ||
| .railway.env.example | ||
| brandfind1.html | ||
| brandfind.html | ||
| brandfinderpro.html | ||
| build.sh | ||
| captain-definition | ||
| CLAUDE.md | ||
| debug_middleware.py | ||
| debug_settings.py | ||
| DEPLOYMENT_GUIDE.md | ||
| Dockerfile.captain | ||
| Dockerfile.dokploy | ||
| Dockerfile.dokploy.debug | ||
| Dockerfile.simple-test | ||
| Dockerfile.test | ||
| dokploy.debug.json | ||
| dokploy.json | ||
| manage.py | ||
| production_https_settings.py | ||
| README.md | ||
| requirements-dev.txt | ||
| requirements.txt | ||
| run_dev.sh | ||
| start-dokploy.sh | ||
| start.sh | ||
| tesla_brand_analysis_webpage_single_file_react.jsx | ||
| WARP.md | ||
Quantum Tasks AI - Simple CapRover Deployment
A basic Django AI agent marketplace for CapRover deployment.
Quick Start
# Install dependencies
pip install -r requirements-simple.txt
# Run migrations
python manage.py migrate
# Create admin user
python manage.py createsuperuser
# Start development server
python manage.py runserver
CapRover Deployment
- Upload to CapRover: Use
captain-definition-simple - Set Environment Variables:
SECRET_KEY=your-secret-key DEBUG=false ALLOWED_HOSTS=yourdomain.com DATABASE_URL=postgres://user:pass@host/db - Deploy: Force build in CapRover dashboard
Project Structure
agents/- AI agent marketplaceauthentication/- User registration/loginwallet/- Basic Stripe paymentscore/- Homepage and utilities
Adding Agents
Add JSON files to agents/configs/agents/:
{
"name": "My Agent",
"category": "productivity",
"price": 5,
"description": "Simple agent description",
"webhook_url": "https://your-webhook.com",
"form_schema": {
"fields": [{"name": "input", "type": "text", "label": "Input"}]
}
}
Documentation
DEPLOYMENT_GUIDE.md- Complete CapRover deployment guideCLAUDE.md- Technical architecture and setup details