Docker Compose to IaC Made Easy
Create deployment-ready Infrastructure as Code templates for your GitHub repositories
Featured from Catalog
Deploy faster
Everything you need to deploy your app
One-click deploy
We create one-click deploy buttons for you so that your application can be deployed on various cloud platforms with one click.
Save Time
Deploy your application to different cloud platforms without having to write IaC teampltes.
Automation
There is no need for registration. You just need docker-compose file in your repository.
Open Source
Our platform runs on an open-source code which you can extend and use freely
import cloudFormationParserInstance from './parsers/aws-cloudformation'; import renderParserInstance from './parsers/render'; import { BaseParser, ParserInfo, TemplateFormat } from './parsers/base-parser'; function translate(dockerComposeContent: string, targetPlatform: string, templateFormat?: TemplateFormat): any { try { const dockerCompose = YAML.parse(dockerComposeContent) as any; const parser = parsers.find(parser => parser.getInfo().abbreviation.toLowerCase() === targetPlatform.toLowerCase()); if (!parser) { throw new Error(`Unsupported target platform: ${targetPlatform}`); } const translatedConfig = parser.parse(dockerCompose, templateFormat); return translatedConfig; } catch (e) { console.error(`Error translating docker-compose content: ${e}`); return null; } }
Frequently asked questions
- What is DeployStack?
DeployStack is a free, open-source service that automatically converts Docker-Compose to various Infrastructure as Code (IaC) templates, such as AWS CloudFormation, Render.com, and DigitalOcean. It simplifies the process of deploying applications to different cloud platforms.
- How does DeployStack work?
To use DeployStack, provide the URL of your GitHub repository containing a Docker Compose file. Our service will analyze the file and generate the corresponding IaC templates. You and your users can then use these templates to deploy your application to your preferred cloud platform.
- Is DeployStack Open Source?
Yes, DeployStack is entirely free to use for public GitHub repositories. We don't support private repositories yet. You can check our GitHub organization with our open-source modules and templates at https://github.com/opendeployio
- What IaC templates does DeployStack support?
Currently, DeployStack supports generating IaC templates for AWS CloudFormation, Render.com, and DigitalOcean. You can also add a cloud provider by contributing to our docker-to-iac module.
- Do I need to provide my cloud platform credentials to use?
No, you don't need to provide your cloud platform credentials to use DeployStack. Our service only generates the IaC templates based on your Docker Compose file. You can use these templates to deploy your application separately using your own credentials.
- What if I have a complex Docker Compose setup with multiple files?
Currently, DeployStack supports converting a single Docker Compose file per repository. If you have a complex setup with multiple files, we recommend consolidating them into a single file. We are exploring ways to support more advanced configurations in future updates.