Skip to content

Tarbox/devops-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker CI/CD Pipeline

🚀 DevOps CI/CD Pipeline (Docker + GitHub Actions)

This project demonstrates a complete CI/CD pipeline using Docker, Docker Compose, and GitHub Actions with a self-hosted runner.


🧠 Overview

The application is a simple Flask API containerized with Docker and automatically deployed on every push using GitHub Actions.


⚙️ Tech Stack

  • Python (Flask)
  • Docker
  • Docker Compose
  • GitHub Actions (CI/CD)
  • Self-hosted runner

📦 Project Structure

my-devops-app/
│
├── app/
│   └── app.py
├── Dockerfile
├── docker-compose.yml
├── requirements.txt
└── .github/workflows/ci.yml

🔄 CI/CD Workflow

  1. Push code to main

  2. GitHub Actions triggers pipeline

  3. Self-hosted runner executes:

    • docker compose down
    • docker compose up -d --build
  4. Application is updated automatically


🐳 Run Locally

docker compose up -d --build

Then open:

http://localhost:5000

📌 Features

  • Automated deployment on push
  • Containerized application
  • Service orchestration with Docker Compose
  • Self-hosted CI runner

💡 Why this project

This project demonstrates practical DevOps skills:

  • CI/CD pipeline design
  • Containerization
  • Infrastructure automation

About

CI/CD pipeline with Docker, Docker Compose and GitHub Actions (self-hosted runner)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors