blog article update

This commit is contained in:
Grégoire Mureau 2025-07-17 08:51:53 +02:00
parent 8ecb1b527a
commit 2cfe305a99
3 changed files with 11 additions and 10 deletions

View file

@ -157,13 +157,13 @@ Interface de déploiement Google Cloud :
#### 🔄 Déploiement continu automatisé (NAS uniquement) #### 🔄 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. 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.
![alt text](watchtower_docker-1.png) ![Docker Watchtower dans OMV Docker-Compose](watchtower_docker-1.png)
> Un **système d’alerte mail** notifie automatiquement toute mise à jour effectuée.
![alt text](watchtower_logs_by_email-1.png)
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**. 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**.
![alt text](watchtower_logs-1.png) ![Logs watchtower dans docker (console SSH)](watchtower_logs-1.png)
Un **système d’alerte mail** notifie automatiquement toute mise à jour effectuée.
![Rapport mail watchtower update sentiment_api](watchtower_logs_by_email.png)
--- ---

View file

@ -159,13 +159,14 @@ Google Cloud deployment interface:
#### 🔄 Automated Continuous Deployment (NAS only) #### 🔄 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. 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.
![Watchtower Docker](watchtower_docker-1.png) ![Docker Watchtower in OMV Docker-Compose](watchtower_docker-1.png)
> An **email alert system** automatically notifies any update performed.
![Watchtower Logs by Email](watchtower_logs_by_email-1.png)
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**. 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**.
![Watchtower Logs](watchtower_logs-1.png) ![Logs watchtower in docker (SSH console)](watchtower_logs-1.png)
An **email alert system** automatically notifies any update performed.
![Watchtower Logs by Email](watchtower_logs_by_email.png)
--- ---

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB