removed duplicated pics + blog(.fr).md update
|
|
@ -88,11 +88,11 @@ Dashboard Expériences MLFlow :
|
|||

|
||||
|
||||
Modèles en production (registre de modèles):
|
||||

|
||||

|
||||
|
||||
Meilleur modèle non BERT retenu :
|
||||

|
||||

|
||||

|
||||

|
||||
---
|
||||
|
||||
## 🧪 CI, tests et versioning
|
||||
|
|
@ -109,7 +109,7 @@ Un [pipeline CI/CD](https://github.com/GrgMdmn/OpenClassrooms_AI_Projects/blob/m
|
|||
- La validation de tests unitaires
|
||||
- La construction et le push de l'api conteneurisée sur dockerhub
|
||||
|
||||

|
||||

|
||||
---
|
||||
|
||||
## 🚀 Déploiement de l’API FastAPI (double)
|
||||
|
|
@ -146,21 +146,21 @@ Le projet propose un **double déploiement** de l’API, en local et dans le clo
|
|||
|
||||
- 🏠 **NAS local** : [sentiment-api.greg-madman-nas.duckdns.org](https://sentiment-api.greg-madman-nas.duckdns.org)\
|
||||
Interface Docker Compose sur le NAS :
|
||||

|
||||

|
||||
|
||||
- ☁️ **Google Cloud Run** : [sentiment-api-service-7772256003.europe-west1.run.app](https://sentiment-api-service-7772256003.europe-west1.run.app)\
|
||||
Interface de déploiement Google Cloud :
|
||||

|
||||

|
||||
|
||||
---
|
||||
|
||||
#### 🔄 Déploiement continu automatisé (NAS uniquement)
|
||||
|
||||
Pour assurer un **déploiement continu** sur le NAS, il a été choisi d'installer [**Watchtower**](https://containrrr.dev/watchtower/arguments/) pour rester dans un logique d'environnement 100% `docker`. Cet outil surveille toutes les **10 minutes** l’image Docker de l’API (`sentiment_api`) et, en cas de nouvelle version disponible sur DockerHub, redémarre automatiquement le conteneur avec la dernière image.
|
||||

|
||||

|
||||
|
||||
Ce mécanisme garantit que la version déployée sur le NAS reste toujours synchronisée avec la dernière version validée par les tests sur GitHub Actions, **sans intervention manuelle**.
|
||||

|
||||

|
||||
|
||||
Un **système d’alerte mail** notifie automatiquement toute mise à jour effectuée.
|
||||

|
||||
|
|
|
|||
16
docs/blog.md
|
|
@ -88,11 +88,11 @@ MLFlow Experiments Dashboard:
|
|||

|
||||
|
||||
Production Models (model registry):
|
||||

|
||||

|
||||
|
||||
Best non-BERT selected model:
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
---
|
||||
|
||||
|
|
@ -110,7 +110,7 @@ A full [CI/CD pipeline](https://github.com/GrgMdmn/OpenClassrooms_AI_Projects/bl
|
|||
- Validation of unit tests
|
||||
- Build and push of the containerized API to DockerHub
|
||||
|
||||

|
||||

|
||||
|
||||
---
|
||||
|
||||
|
|
@ -148,21 +148,21 @@ The project offers a **dual API deployment**, locally and in the cloud:
|
|||
|
||||
- 🏠 **Local NAS**: [sentiment-api.greg-madman-nas.duckdns.org](https://sentiment-api.greg-madman-nas.duckdns.org)
|
||||
Docker Compose interface on the NAS:
|
||||

|
||||

|
||||
|
||||
- ☁️ **Google Cloud Run**: [sentiment-api-service-7772256003.europe-west1.run.app](https://sentiment-api-service-7772256003.europe-west1.run.app)
|
||||
Google Cloud deployment interface:
|
||||

|
||||

|
||||
|
||||
---
|
||||
|
||||
#### 🔄 Automated Continuous Deployment (NAS only)
|
||||
|
||||
To ensure **continuous deployment** on the NAS, we chose to install [**Watchtower**](https://containrrr.dev/watchtower/arguments/) to maintain a 100% `docker` environment. This tool checks every **10 minutes** the Docker image of the API (`sentiment_api`) and, if a new version is available on DockerHub, automatically restarts the container with the latest image.
|
||||

|
||||

|
||||
|
||||
This mechanism ensures that the version deployed on the NAS always stays synchronized with the latest version validated by GitHub Actions tests, **without manual intervention**.
|
||||

|
||||

|
||||
|
||||
An **email alert system** automatically notifies any update performed.
|
||||

|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 9.5 KiB |
|
Before Width: | Height: | Size: 834 KiB |
|
Before Width: | Height: | Size: 256 KiB |
|
Before Width: | Height: | Size: 235 KiB |
|
Before Width: | Height: | Size: 167 KiB |
|
Before Width: | Height: | Size: 118 KiB |
|
Before Width: | Height: | Size: 98 KiB |
|
Before Width: | Height: | Size: 46 KiB |