Skip to content

Repository files navigation

Two-Tier Flask Application with Docker

Project Overview

A two-tier Flask application containerized using Docker. The application uses Flask as the backend and MySQL as the database.

Tech Stack

  • Python
  • Flask
  • MySQL
  • Docker
  • Docker Compose
  • Git
  • Linux

Project Architecture

Client | Flask Container | MySQL Container

Features

  • Dockerized Flask application
  • MySQL database
  • Docker Compose orchestration
  • Persistent database storage
  • Easy deployment

How to Run

git clone

cd two-tier-flask-app

docker compose up --build

Visit: http://localhost:5000

Project Structure

app.py Dockerfile docker-compose.yml requirements.txt templates/

Future Improvements

  • Nginx Reverse Proxy
  • CI/CD using Jenkins
  • Kubernetes Deployment
  • AWS Deployment

Author

Rakesh Sharma

About

Dockerized Two-Tier Flask Application with MySQL using Docker Compose

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages