--- title: PatchPanda created: 2026-06-07 updated: 2026-06-07 type: app tags: [catalogue, docker, mise-a-jour, stacks, typescript] confidence: high contested: false sources: [https://selfh.st/apps/?tag=Docker, https://github.com/dkorecko/PatchPanda] --- # 🐳 PatchPanda > **Le patch manager pour vos stacks Compose** : dĂ©tecte les nouvelles versions, met Ă  jour intelligemment, notifie. Conçu spĂ©cifiquement pour les utilisateurs de `docker compose` qui veulent la MAJ sans la friction. ## 📋 Informations GĂ©nĂ©rales | Champ | Valeur | | :--- | :--- | | **Site web** | (GitHub) | | **GitHub** | [dkorecko/PatchPanda](https://github.com/dkorecko/PatchPanda) | | **License** | MIT | | **Langage** | TypeScript | | **Étoiles GitHub** | 348 ⭐ | | **DerniĂšre MAJ** | 2026-04 | | **CatĂ©gorie** | [[cat-docker\|Docker]] | ## 📝 Description **PatchPanda** est un **gestionnaire de mises Ă  jour spĂ©cialisĂ© Compose**. LĂ  oĂč Watchtower se contente de pull+recreate aveuglĂ©ment, PatchPanda **analyse** votre `docker-compose.yml`, **vĂ©rifie** les nouvelles versions upstream (Docker Hub, GHCR, registries privĂ©s), et **met Ă  jour** uniquement ce que vous autorisez. - ✅ **Analyse des `docker-compose.yml`** : dĂ©tection automatique des images - ✅ **Check des nouvelles versions** sur Docker Hub, GHCR, registries privĂ©s - ✅ **Mise Ă  jour sĂ©lective** : par stack ou par service - ✅ **Diff visuel** : voir le changement de version avant MAJ - ✅ **Backup automatique** avant MAJ - ✅ **Rollback** : revenir Ă  la version prĂ©cĂ©dente en un clic - ✅ **Cron intĂ©grĂ©** : scan quotidien/hebdomadaire - ✅ **Notifications multi-canaux** : Discord, Telegram, Slack, email - ✅ **API REST** : intĂ©gration CI/CD - ✅ **UI web moderne** : React + dark mode - ✅ **MIT** : auditable **Public cible** : utilisateurs avancĂ©s de `docker compose` qui veulent **garder le contrĂŽle** sur le rythme des MAJ. Moins adaptĂ© Ă  Portainer/Dockge (qui gĂšrent dĂ©jĂ  le cycle de vie des stacks). **DiffĂ©rence avec [[app-dockge]]** : Dockge **exĂ©cute** vos stacks et fournit une UI pour les manipuler. PatchPanda est **spĂ©cialisĂ©** dans la dĂ©tection de MAJ et le versioning. À utiliser **avec** Dockge, pas Ă  la place. ## 🚀 Installation ### Docker Compose ```yaml # docker-compose.yml version: '3.8' services: patchpanda: image: ghcr.io/dkorecko/patchpanda:latest container_name: patchpanda restart: unless-stopped environment: - DATABASE_URL=file:/data/patchpanda.db - CRON_SCHEDULE=0 5 * * * - WATCH_DIRS=/opt/stacks - DISCORD_WEBHOOK=https://discord.com/api/webhooks/*** - TZ=Europe/Paris volumes: - /var/run/docker.sock:/var/run/docker.sock:ro - /opt/stacks:/opt/stacks:ro # vos stacks - patchpanda-data:/data ports: - "8111:3000" labels: - "traefik.enable=true" - "traefik.http.routers.patchpanda.rule=Host(`patches.example.com`)" - "traefik.http.routers.patchpanda.entrypoints=websecure" - "traefik.http.routers.patchpanda.tls.certresolver=letsencrypt" volumes: patchpanda-data: ``` ### Docker run ```bash docker run -d \ --name patchpanda \ -p 8111:3000 \ -v /var/run/docker.sock:/var/run/docker.sock:ro \ -v /opt/stacks:/opt/stacks:ro \ -v patchpanda-data:/data \ ghcr.io/dkorecko/patchpanda:latest ``` ## ⚙ Configuration Initiale 1. **AccĂ©der Ă  l'UI** : `http://IP:8111` 2. **Pointer sur le dossier de stacks** : Settings > Watch Dirs (`/opt/stacks`) 3. **Lancer un scan initial** : bouton « Scan Now » (5-10 min) 4. **Examiner les MAJ disponibles** : Dashboard > Updates 5. **Activer le webhook Discord** (ou autre) pour ĂȘtre notifiĂ© 6. **Programmer le cron** : `0 5 * * *` (scan quotidien Ă  5h) ## 🔄 Alternatives ### Open Source - [[app-watchtower]] — Update auto, sans interface, sans rollback - [[app-cup]] — Concurrent direct, plus simple - [[app-dockge]] — Compose manager (orthogonal, complĂ©mentaire) - [[app-docking-station]] — UI update, plus gĂ©nĂ©raliste - [[app-diun]] — Notifications seules ### Comparaison PatchPanda vs alternatives | CritĂšre | PatchPanda | Watchtower | Cup | Dockge | | :--- | :--- | :--- | :--- | :--- | | UI web | ✅ | ❌ | ✅ | ✅ | | Update auto | Optionnel | ✅ | Optionnel | Manuel | | Rollback | ✅ | ❌ | ❌ | Manuel | | Diff versions | ✅ | ❌ | ✅ | ❌ | | Backup avant MAJ | ✅ | ❌ | ❌ | ❌ | | Compose-centric | ✅ | ⚠ | ⚠ | ✅ | | License | MIT | Apache-2.0 | MIT | MIT | **Verdict** : PatchPanda est **le plus complet** des update managers Compose, grĂące au rollback et au diff. À privilĂ©gier si vous avez 10+ stacks et que vous voulez tracer les changements. ### PropriĂ©taires (ce que PatchPanda remplace) - **Renovate Bot** (version Docker) — Plus complexe, orientĂ© code - **Dependabot** — LiĂ© Ă  GitHub - **Scripts cron artisanaux** — Pas de rollback ## 🔐 SĂ©curitĂ© - ⚠ **Le socket Docker = root** : en cas de compromission, exĂ©cution de code arbitraire. **Montez le socket en `:ro`** et limitez l'accĂšs rĂ©seau Ă  PatchPanda - **HTTPS obligatoire** via [[app-traefik]] - **Whitelist de registries** : ne pas autoriser les registries non-listĂ©s - **Pas d'auth native** : protĂ©gez l'UI derriĂšre Authelia/Oauth2-Proxy - **Sauvegardes** : configurez des backups avant MAJ automatique (cf. [[app-docker-volume-backup]]) ## 📚 Ressources - [GitHub dkorecko/PatchPanda](https://github.com/dkorecko/PatchPanda) - [Issue tracker et roadmap](https://github.com/dkorecko/PatchPanda/issues) ## Pages LiĂ©es - [[cat-docker]] — CatĂ©gorie Docker - [[app-portainer]] — Runtime Docker - [[app-dockge]] — Compose manager - [[app-yacht]] — Templates - [[app-traefik]] — Reverse proxy - [[recettes-docker-compose]] — Stacks - [[securisation-home-lab]] — SĂ©curitĂ©