-
Notifications
You must be signed in to change notification settings - Fork 0
feat: add Ragamuffin monorepo scaffold with production deployment #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…, docker-compose) Co-authored-by: Stacey77 <54900383+Stacey77@users.noreply.github.com>
|
@copilot next phase |
|
@copilot continue |
|
@copilot continue |
|
@copilot continue and go to production |
Co-authored-by: Stacey77 <54900383+Stacey77@users.noreply.github.com>
Co-authored-by: Stacey77 <54900383+Stacey77@users.noreply.github.com>
Production deployment configuration added! 🚀 Added in commits ✅ Production Docker Setup
✅ Security Features
✅ Infrastructure
✅ Documentation
Quick Start: # Configure environment
cp .env.production.example .env.production
# Generate secure keys
openssl rand -hex 32 # Use for SECRET_KEY
openssl rand -hex 32 # Use for JWT_SECRET
# Deploy
./start-prod.shDefault login (CHANGE IN PRODUCTION): admin/changeme See |
Complete monorepo scaffold for "Ragamuffin" AI development platform with LangFlow, FastAPI backend, React frontend, and LangGraph. Includes production-ready deployment configuration with JWT authentication and comprehensive security features.
Services
Structure
Development
docker-compose.yml,start-dev.sh/stop-dev.sh(executable), docs/langflow: Dockerfile running langflow server/langflow-backend: FastAPI with/save_flow/,/list_flows/,/get_flow/{name},/run_flow/endpoints/web-client: Multi-stage Docker build, cyberpunk theme (Orbitron), pages for Dashboard/Playground/Datasets/AgentBuilder/langgraph: LangGraph server containerProduction
docker-compose.prod.yml: Production compose with healthchecks, environment variables, and persistent volumesDockerfile.prod: Hardened production Dockerfile with non-root userstart-prod.sh/stop-prod.sh: Production deployment scripts with security validationapp/auth.py: JWT authentication system with bcrypt password hashingapp/main_prod.py: Production backend with auth-protected endpointsnginx/ragamuffin.conf: Nginx reverse proxy with SSL/TLS and security headers.env.production.example: Environment variable templatePRODUCTION_DEPLOYMENT.md: Complete deployment guide (SSL, database, monitoring, scaling)PRODUCTION_CHECKLIST.md: Pre-deployment security checklistBackend Fallback
If
langflowpackage unavailable,/run_flow/returns simulated response:Quick Start
Development
./start-dev.sh # docker compose up --buildProduction
Production Security Features
✅ JWT authentication (configurable enable/disable)
✅ Bcrypt password hashing
✅ Environment-based configuration
✅ CORS restricted to configured domains
✅ Secret key validation (minimum 32 characters)
✅ Non-root Docker containers
✅ Healthcheck endpoints
✅ Rate limiting configuration
✅ SSL/TLS nginx setup
✅ Security headers (HSTS, X-Frame-Options)
✅ Input validation and sanitization
Default login (CHANGE IN PRODUCTION): admin/changeme
See
PRODUCTION_DEPLOYMENT.mdfor complete deployment guide andPRODUCTION_CHECKLIST.mdfor security validation before going live.Original prompt
This pull request was created as a result of the following prompt from Copilot chat.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.