avatar

Piyush Himmatsinghka

DevOps Engineer

Deployment with Nginx, Docker, and Monitoring

1. Overview

In this project, I deployed a static website using Nginx, Docker, and Docker Compose. I containerized the Nginx web server and set up monitoring with Prometheus and Grafana. The deployment is automated using a bash script, making it easily reproducible. In addition, the Nginx server is configured with basic HTTPS using SSL certificates, and all services are monitored in real-time.

2. This project demonstrates my ability to:

  • Configure and serve static websites using Nginx.
  • Containerize applications using Docker and manage them with Docker Compose.
  • Set up real-time monitoring and alerting using Prometheus and Grafana.
  • Automate deployment and setup with bash scripting.
  • Implement basic security features such as SSL for HTTPS.

3. Technologies Used:

  • Nginx: For serving the static website.
  • Docker: Containerization of the web server and monitoring tools.
  • Docker Compose: For managing multi-container applications.
  • Prometheus & Grafana: Monitoring and visualizing the Nginx server’s health.
  • Bash Scripting: For automating the setup and deployment process.
  • 4. Access the application:

  • Access the Website: Navigate to http://localhost to view the static website served by Nginx.
  • Access Prometheus: Navigate to http://localhost:9090 to view Prometheus metrics.
  • Access Grafana: Navigate to http://localhost:3000 (default login: admin/admin) to view the Grafana dashboard.
  • Technology