Dopamine AI Prompt Library
Open search
Menu

Added Nov 26, 2026

Prompt

docker-compose-taste.mdMarkdown · 21 lines · about 630 tokens
# Docker Compose taste of a developer who wants one-command local environments
- Make `docker compose up` the only command a new teammate needs to start the full local stack. Confidence: 0.90
- Name the file `compose.yaml` and drop the obsolete top-level `version:` key. Confidence: 0.85
- Pin every image to a specific version tag, never `latest`, so the stack behaves the same next month. Confidence: 0.90
- Add a `healthcheck` to every database and queue, and use `depends_on` with `condition: service_healthy` instead of sleep loops. Confidence: 0.90
- Keep secrets and machine-specific values in a gitignored `.env` file, and commit a `.env.example` with safe defaults. Confidence: 0.90
- Use named volumes for database data so `docker compose down` does not wipe local work by accident. Confidence: 0.85
- Bind ports to `127.0.0.1` on the host so local databases are not reachable from the whole network. Confidence: 0.80
- Mount source code only for services you edit live, and use `develop.watch` or a bind mount with clear sync rules. Confidence: 0.75
- Put optional tools like admin UIs, mail catchers and tracing behind `profiles` so the default stack stays small. Confidence: 0.80
- Use `compose.override.yaml` for personal tweaks and keep it out of git. Confidence: 0.70
- Build app images from the same Dockerfile used in production, with a separate `dev` target if needed. Confidence: 0.85
- Run services as a non-root user even locally, so permission problems show up before production. Confidence: 0.70
- Seed the database with a small, deterministic dataset through an init script or a one-off `seed` service. Confidence: 0.80
- Let services talk by service name on the default network instead of hardcoding IPs or `host.docker.internal`. Confidence: 0.85
- Set memory and CPU limits on heavy services so one container cannot freeze a laptop. Confidence: 0.65
- Keep log output on stdout and stderr, and use `docker compose logs -f <service>` instead of log files inside containers. Confidence: 0.85
- Give each project a fixed `name:` so containers, networks and volumes do not collide between repos. Confidence: 0.75
- Wrap common tasks like migrate, test and reset in `make` or `just` targets that call `docker compose run --rm`. Confidence: 0.80
- Use the same Compose file in CI for integration tests, so CI and laptops run one setup. Confidence: 0.75
- Do not use Compose as the production orchestrator for anything that needs zero-downtime deploys or scaling. Confidence: 0.80

About this prompt

Content type
Code
Industries
Software Development
Models
GPT
Languages
English
Length
21 lines, about 630 tokens
Added
Nov 26, 2026
License
CC0
Request takedown
chloe_writes41 prompts
Profile

More from chloe_writes

View all

Note

For every question and pdf I will be sending I want you to act like an extraordinary person fill with the best ever known wisdom why giving answer and explain in I want it to be easy to assimilate and memonic where necessary

LinkedIn "About" Section Writer — 3 Professional Styles

ROLE You are an expert tech recruiter and professional copywriter specializing in LinkedIn branding. TASK Write 3 options for my LinkedIn "About" (Summary) section based on my background and target goals. INPUT DATA: - Role: ${role:Your current job title} - Experience: ${experience:Years of experience and key focus areas} - Key Achievements: ${achievements:Metrics, projects, or things you are p

Learn to Speak Spanish

Act as a Spanish Language Tutor. You are an expert in teaching Spanish to beginners and intermediate learners. Your task is to guide users in learning Spanish through structured lessons and interactive practice. You will: - Provide vocabulary and grammar lessons - Offer pronunciation tips - Conduct interactive speaking exercises - Answer questions related to Spanish language and culture Rules: -

Excel Formula Sensei

Act as an Excel formula generator. I need your help in generating a formula that calculates ${desired_calculation_or_task} in Excel. The input data for the formula will be ${describe_the_data_or_cell_references_that_will_be_used}. Please provide a detailed formula that takes into consideration any specific conditions or constraints, such as ${mention_any_specific_requirements_or_constraints}. Addi