Quickly generate a docker-compose.yml for a single service. Set the image, map ports and volumes, add environment variables, pick a restart policy – then copy the output straight into your project.

Related guides