This repository contains the necessary configuration and setup files for deploying the Reddit-Clone application on an Azure Virtual Machine (VM). The application is containerized using Docker and served via an Nginx web server.
The Reddit-Clone application is a simple Reddit-like forum where users can post, comment, and vote on threads. It's built using a microservices architecture, with separate services for the front-end, back-end, and Nginx server.
The application is deployed on an Azure VM running Ubuntu 20.04. Docker is used to containerize the application, and Docker Compose is used to manage the application services. Nginx is used as a reverse proxy to route requests to the appropriate services.
docker-compose.yml
: This file defines the application services, their configurations, and their interdependencies.info.conf
: This is the configuration file for the Nginx server For The FrontEnd Application.Jenkinsfile
: This file defines the Jenkins pipeline for continuous integration and deployment.
To deploy the application, you'll need to have Docker, Docker Compose, and Nginx installed on your Azure VM. Once these prerequisites are installed, you can deploy the application by running docker-compose up -d
from the root directory of this repository.
The application is monitored using Prometheus. Prometheus scrapes metrics from the application services at regular intervals and stores them for analysis and alerting.