This project is a simple web application built with Flask, running in Docker and managed with Terraform. The application displays a simple message and serves as a great project for understanding how to integrate Flask, Docker, and Terraform.
- Simple Web Application: Displays the message "Hello, Flask is running in Docker!".
- Containerization: Uses Docker for containerizing the application, allowing portability and consistency across different environments.
- Infrastructure as Code: Utilizes Terraform to easily define and manage Docker infrastructure.
Before you begin, ensure you have the following installed:
-
Clone this repository:
git clone https://github.com/fahmikemal/Simple-DevOps-Project-Dockerized-Flask-App-with-Terraform.git cd Simple-DevOps-Project-Dockerized-Flask-App-with-Terraform
-
Run Terraform:
terraform fmt terraform validate terraform init terraform apply
-
Access the application: Once the container is running, open your browser and navigate to http://localhost:5000.