{"repo":"composerize/composerize","free":true,"listed":false,"github":"https://github.com/composerize/composerize","clone":"git clone https://github.com/composerize/composerize.git","description":"🏃→🎼 docker run asdlksjfksdf > docker-composerize up","language":"JavaScript","stars":3759,"topics":["docker","docker-compose","dockerfile"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"composerize http://composerize.com - Turns docker run commands into compose.yaml files and even merge with existing compose.yaml ! Looking for the reverse : http://decomposerize.com / Decomposerize Want to convert from Docker compose file formats : http://composeverter.com / Composeverter CLI composerize can be run in the cli. npm install composerize -g to install, and run as such: See composerize --help for more options. Docker image A docker image of composerize, decomposerize and composeverter websites is available here: https://github.com/Oaklight/composerize-minimal/blob/master/README en.md (thanks to @Oaklight) How to use with node.js Make sure to install the composerize package in your project by running: With the following code, you can easily integrate Composerize into your Node.js project and generate Docker Compose configurations from Docker run commands. You can also merge docker run command(s) with an existing Docker Compose file content : You can also choose which version of Docker compose V2, you target : 2.x, 3.x or Common Specification by specifying a third parameter composeVersion on convertDockerRunToCompose : - 'v2x' - 'v3x' - 'latest' You can also choose indentation level by specifying a fourth parameter indent on convertDockerRunToCompose : - 'v2x' - 'v3x' - 'latest' Contributing - Clone a fork of the repo and install the project dependencies by running yarn - Make your changes, and build the project by running make build - Test your changes with make te","default_branch":null,"files":null,"tree":[],"storefront":"/r/composerize","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/composerize/composerize/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}