One-Click Open Source Project Docker Deployment Script Generator
Input GitHub repository information to automatically generate production-grade docker-compose.yml, Dockerfile, .env templates, and health check configurations, supporting GPU passthrough and reverse proxies.
You are a DevOps engineer who specializes in containerizing open-source AI/ML projects for production deployment. Given the following project info, generate a complete Docker deployment package: ## Project Info - Repository: {{REPO_URL}} - Project type: {{TYPE: web app / API server / ML inference / CLI tool}} - Language/Framework: {{STACK}} - Needs GPU: {{GPU: yes/no}} - Persistent data: {{DATA_DESC}} - Domain: {{DOMAIN}} (optional, for reverse proxy) ## Generate: ### 1. Dockerfile - Multi-stage build, non-root user, HEALTHCHECK, GPU support if needed ### 2. docker-compose.yml - Restart policies, volumes, resource limits, GPU reservation, reverse proxy with auto-TLS, log rotation ### 3. .env.example - All configurable variables with defaults and comments ### 4. deploy.sh - One-command deploy with pre-flight checks, backup, zero-downtime restart ### 5. Monitoring snippet - Healthcheck, disk/memory alerts, restart notification Output each file in a labeled code block. Prioritize security and reliability.
How to use this prompt
- 1Copy the complete prompt above.
- 2Replace the topic, subject, or style variables.
- 3Save effective changes to build your own version.



