BestPromptFinder
Home › Coding › Docker Compose for a Local Development Stack

Docker Compose for a Local Development Stack

Coding · Claude, ChatGPT, Gemini · coding
85AI Quality /100
94AI Usefulness est. /100
85Eval Confidence /100
No votes yetCommunity results

Quality, usefulness and confidence are AI evaluations out of 100 — not user ratings. Community results come from visitors' "worked / didn't work" votes below. How scoring works →

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

Source

Created by BestPromptFinder — editorial prompt, not user-generated. See our content & source policy.

Related Coding prompts

Python: Download a CSV From a URL
Quality 94 · GPT-5.6
Public-Market and Competitor Data Collection Agent
Quality 92 · GPT-5.6
Plain-English to SQL Query Writer
Quality 91 · GPT-5.6
PRD to MVP Technical Plan
Quality 90 · Claude Code
Third-Party API Integration
Quality 90 · Claude Code
Database Schema and Migration
Quality 90 · Claude Code