BestPromptFinder
Docker Compose for a Local Development Stack
85AI Quality /100
94AI Usefulness est. /100
85Eval Confidence /100
No votes yetCommunity results
The prompt
Write a docker-compose setup so anyone on my team can run the whole app locally with one command. Services: [e.g. web app (Node/Python), PostgreSQL, Redis, a background worker, Mailpit for test emails] My project structure: [folders, where Dockerfiles are or should be] Ports I want on my machine: [list] Requirements: - compose.yaml with healthchecks and depends_on conditions so services start in the right order. - Named volumes for database data; bind-mount source code for live reload. - A .env.example with every variable and a safe placeholder value; real .env ignored by git. - A seed step for sample data. - Comments for each service. Then give me: the commands to start, stop, view logs and reset everything; how to run tests inside the container; and the 5 most common errors (port already in use, permissions on volumes, etc.) with fixes.Find similar in the app →
Did this prompt work for you?
Why this prompt
- Hand-picked, editorially reviewed prompt
- Written for Claude, ChatGPT, Gemini
Source
Created by BestPromptFinder — editorial prompt, not user-generated. See our content & source policy.
Related Coding prompts
Python: Download a CSV From a URLQuality 94 · GPT-5.6Public-Market and Competitor Data Collection Agent
Quality 92 · GPT-5.6Plain-English to SQL Query Writer
Quality 91 · GPT-5.6PRD to MVP Technical Plan
Quality 90 · Claude CodeThird-Party API Integration
Quality 90 · Claude CodeDatabase Schema and Migration
Quality 90 · Claude Code