Draft a dev container config for my project
Drafts a dev container configuration for your stack with editor extensions, ports and setup commands, each choice explained in one line.
Task:
Draft a dev container configuration so that everyone on my team gets the same development environment.
Context:
The project is [language and framework] on [language version]. It needs the services [database or other services] and the ports [ports to forward]. The team edits in [editor or IDE] on [operating systems].
Rules:
- Use only the tools, extensions and versions I list. For anything else, leave a TODO comment instead of choosing for me.
- Add a one-line comment to each setting saying why it is there.
- Pass secrets in through the host environment by name and keep them out of the file. Ask for no real values in the chat.
- If you are unsure a property name is valid for my tooling, say so and name the docs page to check.
- Avoid mounting the whole home folder, and say why if you must mount anything beyond the project.
Result:
The configuration files in one code block each, with the file path above each block, then at most 3 lines on how to open the project in the container and how to rebuild it.