Cursor

Docker Compose Service Setup

Prompt
Act as a DevOps engineer. Create a docker-compose.yml for a [stack description] with health checks, volume mounts, environment variable templates, network isolation, and a Makefile with common dev commands.

How to use this prompt

  1. Copy the prompt above using the copy button

  2. Open Cursor and start a new conversation

  3. Paste the prompt and replace [bracketed variables] with your specifics

Look for [placeholder] text in the prompt — replace these with your specific details for best results.

Related Topics

583 copies415 upvotes