Docker Container Configuration

Generate a Dockerfile and docker-compose.yml for a specific application stack.

Prompt Template

Write a secure and optimized Dockerfile and docker-compose.yml for a {{App Context: e.g. if used in an AI agent use the current project}}. Use {{Base Image: Alpine, Ubuntu, Debian, Scratch}} as the base image. Include configurations for {{Database: PostgreSQL, MySQL, MongoDB, Redis, None}} and expose port {{Port:8080}}. Add comments explaining the build stages and security best practices.

How Variables Work

Variable Syntax

Variables are wrapped in {{ and }} and follow this pattern:

{{variable name: option1, option2, option3 }}

Predefined Variables

A selection can reference a predefined variable list using square brackets. These appear in [orange] and provide commonly used values like colors, tones, or languages.

{{Tone: [tones] }}

Custom Selection Lists

You can also provide an inline list of choices separated by commas.

{{Format: bullet points, paragraphs, numbered list }}
💡

Tip: You don't need the PUCO app to use these prompts! Simply copy the template and replace each {{…}} section with your own text directly in ChatGPT, Claude, Gemini, or any other AI assistant.

Use this prompt in seconds — not minutes

Install PUCO for Mac: press a hotkey in any app, fill a smart form, paste into ChatGPT, Claude or Gemini. Every variable becomes a curated dropdown. Your last values are remembered.

Download on the Mac App Store