Temp Monitor is an open-source project designed for monitoring and managing temperature data efficiently. This repository contains multiple modular services for backend processing, logging, machine learning, and notification management.
-
Backend Service (
backend_svc
): Handles core data processing and serves as the primary API for the system. -
Logger Service (
logger_svc
): Manages logs to track system activity and errors. -
Machine Learning Service (
ml_svc
): Provides predictive analytics and insights using temperature data. -
Notification Service (
notification_svc
): Sends alerts and notifications based on system thresholds and analysis.
- Languages:
- Python
- Go
- Shell
- Tools:
- Docker (for building images)
- Kubernetes (for deployment and orchestration)
temp-monitor/
├── backend_svc/ # Backend service source code
├── logger_svc/ # Logger service implementation
├── ml_svc/ # Machine learning service implementation
├── notification_svc/ # Notification service
├── deployment/ # Kubernetes manifests and management scripts
└── README.md # Project documentation
- Clone the repository:
git clone https://github.com/naphatkps/temp-monitor.git
cd temp-monitor
- Build Docker images for all services:
docker build -t weather_backend ./backend_svc
docker build -t weather_logger ./logger_svc
docker build -t weather_predict ./ml_svc
docker build -t weather_notification ./notification_svc
- Install the ingress controller:
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/cloud/deploy.yaml
- Deploy the services and ingress using Kubernetes:
chmod +x ./deployment/manage_manifests.sh
./deployment/manage_manifests.sh apply
- Access the services via the ingress.
http://localhost/backend
http://localhost/predict
http://localhost/logger
http://localhost/noti
We welcome contributions! To contribute:
- Fork the repository.
- Create a feature branch:
git checkout -b feature-name
- Commit and push your changes:
git commit -m "Add feature-name"
git push origin feature-name
- Submit a pull request for review.
Naphat - [email protected]