From eea4f1b0d9fa33c6c035dfe542654393ec5cd08e Mon Sep 17 00:00:00 2001 From: Gato Date: Sat, 6 Jun 2026 23:07:24 +0200 Subject: [PATCH] docs: documenter le projet Olhar dans le wiki Infra Co-Authored-By: Claude Sonnet 4.6 --- Changelog.md | 6 ++++++ Home.md | 4 +++- Installation-Production.md | 23 +++++++++++++++++++++-- Mise-a-jour-Applications.md | 10 +++++++++- 4 files changed, 39 insertions(+), 4 deletions(-) diff --git a/Changelog.md b/Changelog.md index 7b860c0..82a08ce 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,5 +1,11 @@ # Changelog +## 2026-06-06 — Ajout du projet Olhar + +- `Home.md` — ajout de Olhar dans l'architecture et le tableau des services +- `Installation-Production.md` — section 8 Olhar avec commandes de démarrage et secrets requis +- `Mise-a-jour-Applications.md` — section rollback Olhar et ajout dans la boucle de mise à jour globale + ## 2026-06-05 — Workflow release automatique pour Luz - `CI-CD.md` — documentation du workflow `release.yml` de Luz : déclencheur push main, versionnage automatique, jobs test + release diff --git a/Home.md b/Home.md index 5a0001e..2a0c26c 100644 --- a/Home.md +++ b/Home.md @@ -17,7 +17,8 @@ Internet │ └── / → Bonsai Webapp (front-end) ├── luz.goutailler-olivier.com → Luz (front-end Angular) ├── cloud.goutailler-olivier.com → Nextcloud - └── notes.goutailler-olivier.com → Trilium + ├── notes.goutailler-olivier.com → Trilium + └── olhar.goutailler-olivier.com → Olhar ``` ## Services @@ -32,6 +33,7 @@ Internet | Luz | `luz/` | `luz.goutailler-olivier.com` | | Nextcloud | `nextcloud/` | `cloud.goutailler-olivier.com` | | Trilium | `trilium/` | `notes.goutailler-olivier.com` | +| Olhar | `olhar/` | `olhar.goutailler-olivier.com` | ## Pages diff --git a/Installation-Production.md b/Installation-Production.md index b64e29a..9d8244b 100644 --- a/Installation-Production.md +++ b/Installation-Production.md @@ -149,6 +149,24 @@ L'image `git.goutailler-olivier.com/gato/luz:latest` est construite par la CI Gi --- +## 8. Olhar + +```bash +cd olhar/ +docker compose up -d +``` + +L'image `git.goutailler-olivier.com/gato/olhar:latest` est construite par la CI Gitea lors d'une release. Aucune variable d'environnement spécifique n'est requise. + +**Secrets Gitea à configurer dans le dépôt Olhar :** + +| Secret | Description | +|---|---| +| `RELEASE_TOKEN` | Token Gitea avec droits `write:packages` et `write:repository` | +| `WATCHTOWER_TOKEN` | Token HTTP de l'API Watchtower pour déclencher le redéploiement | + +--- + ## 9. Nextcloud ```bash @@ -192,8 +210,9 @@ mkdir -p /home/gato/Applications/Trilium/data 5. Bonsai API 6. Bonsai Webapp 7. Luz -8. Nextcloud -9. Trilium +8. Olhar +9. Nextcloud +10. Trilium ``` --- diff --git a/Mise-a-jour-Applications.md b/Mise-a-jour-Applications.md index 9fda409..57bbcda 100644 --- a/Mise-a-jour-Applications.md +++ b/Mise-a-jour-Applications.md @@ -160,10 +160,18 @@ docker start bonsai-api --- +## Rollback Olhar + +1. Aller dans **Gitea → Olhar → Actions → Rollback → Run workflow** +2. Saisir la version cible (ex. `v1.2.3`) +3. Lancer — Watchtower redéploie automatiquement + +--- + ## Mettre à jour tous les services d'un coup ```bash -for dir in traefik keycloak gitea bonsai-api bonsai-webapp luz nextcloud trilium; do +for dir in traefik keycloak gitea bonsai-api bonsai-webapp luz olhar nextcloud trilium; do echo "=== $dir ===" (cd "$dir" && docker compose pull && docker compose up -d) done