informatica:software:diun
Diferencias
Muestra las diferencias entre dos versiones de la página.
| Próxima revisión | Revisión previa | ||
| informatica:software:diun [2026/03/07 11:20] – creado tempwin | informatica:software:diun [2026/03/07 13:57] (actual) – [Telegram] tempwin | ||
|---|---|---|---|
| Línea 1: | Línea 1: | ||
| ====== Diun ====== | ====== Diun ====== | ||
| - | **Diun** (//Docker Image Update Notifier//) es un servicio que permite enviar notificaciones cuando | + | **Diun** (//Docker Image Update Notifier//) es una herramienta que vigila las imágenes |
| + | |||
| + | <WRAP center round info 60%> | ||
| + | Diun no actualiza contenedores, | ||
| + | </ | ||
| * [[https:// | * [[https:// | ||
| Línea 8: | Línea 13: | ||
| {{ https:// | {{ https:// | ||
| + | ===== Instalación ===== | ||
| + | |||
| + | ==== Docker ==== | ||
| + | |||
| + | Ejemplo de Docker Compose: | ||
| + | |||
| + | <code yaml> | ||
| + | name: diun | ||
| + | |||
| + | services: | ||
| + | diun: | ||
| + | image: crazymax/ | ||
| + | command: serve | ||
| + | volumes: | ||
| + | - " | ||
| + | - "/ | ||
| + | environment: | ||
| + | - " | ||
| + | - " | ||
| + | - " | ||
| + | - " | ||
| + | - " | ||
| + | - " | ||
| + | labels: | ||
| + | - " | ||
| + | restart: always | ||
| + | </ | ||
| + | |||
| + | Variables de entorno: | ||
| + | |||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | ===== Notificaciones ===== | ||
| + | |||
| + | ==== Telegram ==== | ||
| + | |||
| + | Ejemplo en el fichero Docker Compose: | ||
| + | |||
| + | <code yaml> | ||
| + | environment: | ||
| + | # Telegram notifications | ||
| + | DIUN_NOTIF_TELEGRAM_TOKEN: | ||
| + | DIUN_NOTIF_TELEGRAM_CHATIDS: | ||
| + | DIUN_NOTIF_TELEGRAM_TEMPLATEBODY: | ||
| + | 🚀 *Actualización imagen Docker* | ||
| + | |||
| + | 📦 *Imagen:* `{{ .Entry.Image }}` | ||
| + | 📦 *Contenedor: | ||
| + | 🔔 *Estado:* {{ .Entry.Status }} | ||
| + | |||
| + | {{ if .Entry.Image.HubLink }} | ||
| + | 🔗 {{ .Entry.Image.HubLink }} | ||
| + | {{ end }} | ||
| + | |||
| + | </ | ||
| + | |||
| + | ==== Pruebas ==== | ||
| + | |||
| + | Entramos en el contenedor: | ||
| + | |||
| + | < | ||
| + | docker compose exec -it diun sh | ||
| + | </ | ||
| + | |||
| + | Ejecutamos: | ||
| + | |||
| + | < | ||
| + | diun notif test | ||
| + | </ | ||
| + | |||
| + | Usará el método de notificación que hayamos configurado y enviará una notificación a través de él. | ||
informatica/software/diun.1772878852.txt.gz · Última modificación: por tempwin
