A command-line tool for generating DevOps-related scripts such as Dockerfiles and docker-compose.yml
files based on user inputs.
- Interactive script generation.
- Support for Dockerfiles.
- Support for
docker-compose.yml
files. - Customizable configuration options.
- Easy-to-use command-line interface.
Before you begin, ensure you have met the following requirements:
- Python 3.x installed.
- pip for installing Python packages.
-
Clone this repository:
git clone https://github.com/AashooSharmaTech/auto-create-tool.git
-
Navigate to the project directory:
cd auto-create-tool
-
Install the required dependencies using pip:
pip install -r requirements.txt
To generate a Dockerfile, run the following command:
python main.py
Follow the on-screen prompts to customize your Dockerfile, including the base image, instructions, and more. The generated Dockerfile will be saved in the ./my_files/
directory.
To generate a docker-compose.yml
file, choose option 2 when running the tool:
python3 main.py
Follow the on-screen prompts to configure your services, including container names, image names, environment variables, and more. The generated docker-compose.yml
file will be saved in the project directory.
Contributions are welcome! Please feel free to fork this repository, make changes, and submit a pull request. If you encounter any issues or have suggestions for improvements, please create an issue.
This project is licensed under the MIT License - see the LICENSE file for details.