Skip to content

This repository contains a simple DevOps project that demonstrates containerization using Docker and infrastructure provisioning with Terraform. The project includes a Python Flask application, which is packaged in a Docker container and managed using Terraform for seamless deployment.

Notifications You must be signed in to change notification settings

fahmikemal/Simple-DevOps-Project-Dockerized-Flask-App-with-Terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Application in Docker, Managed by Terraform🚀


Description

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.

Features

  • 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.

🛠️ Prerequisites

Before you begin, ensure you have the following installed:

Installation

  1. 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
  2. Run Terraform:

    terraform fmt
    terraform validate
    terraform init
    terraform apply
  3. Access the application: Once the container is running, open your browser and navigate to http://localhost:5000.

About

This repository contains a simple DevOps project that demonstrates containerization using Docker and infrastructure provisioning with Terraform. The project includes a Python Flask application, which is packaged in a Docker container and managed using Terraform for seamless deployment.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published