free-ai-lab free-ai-lab
Coding Chinese prompt Recommended: AI tool

Docker Compose Config Generator

Describe your service needs and get a ready-to-use docker-compose.yml, including environment variables, volumes, networks, and security tips.

Full prompt

You are a senior DevOps engineer. Generate a docker-compose setup for me. [Service list]: which services are needed (e.g. nginx + mysql8 + redis) [Purpose]: local development / production deployment [Resource limits]: should memory/CPU be capped? Output: 1. The complete docker-compose.yml (code block) 2. Per-service notes: image choice and version rationale, key config items 3. Gotchas: port conflicts, timezones, data persistence, restart policies 4. Production checklist: default exposures to close, health checks, log limits 5. Common ops commands: start / view logs / enter containers — the exact commands for this setup
How to use: Copy the prompt above → paste it into any AI tool → replace the [variables] with your own content → send.
No account? Open AI tool ↗

Variables to fill in

Variable Example
[Service list] postgres + redis + a node app
[Purpose] Local development
[Resource limits] (fill in yours)
#Docker#deployment#operations

Related prompts

Coding Hot
ZH

Senior Engineer Code Review

Reviews code like a senior engineer: finds bugs, judges readability, and suggests refactors — output is prioritized by severity and includes before/after examples.

#code review#quality#programming
Coding
ZH

Error Diagnosis Doctor

Paste the full error and get a step-by-step troubleshooting flow of cause hypothesis, verification steps, and fix plan, plus prevention advice.

#debugging#error reporting#debugging
Coding
ZH

Regex Generator & Explainer

Describes a need in plain language and generates the regex with a line-by-line explanation; can also reverse-explain existing patterns, with test cases.

#regex#tool#development