Docker Compose File Creator
By Mr Tech King · Published · Updated
Generate a docker-compose.yml file to spin up multi-container applications.
Tags: devops, docker, coding
Prompt template
## Introduction Quickly build a docker-compose file for your local environment. ## Application Stack - Main App Service (Image/Build path): [text: E.g., build: . or image: myapp:latest] - App Port Mapping (Host:Container): [text: E.g., 8080:80] ## Dependencies - Database needed: [dropdown: None, PostgreSQL, MySQL, MongoDB, Redis] - Other services to include: [multi: Nginx Reverse Proxy, RabbitMQ, ElasticSearch, Mailhog] - Include persistent volumes for data? [toggle: Yes, No] --- **Goal**: Output a valid docker-compose.yml file with network and volume configurations.