From aea5c4448602f1d2efc16c17759c7f4b25d82255 Mon Sep 17 00:00:00 2001 From: admin Date: Sun, 5 Apr 2026 13:59:24 +0200 Subject: [PATCH] apprise de base --- apprise/docker-compose.yml | 41 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 apprise/docker-compose.yml diff --git a/apprise/docker-compose.yml b/apprise/docker-compose.yml new file mode 100644 index 0000000..779a4b3 --- /dev/null +++ b/apprise/docker-compose.yml @@ -0,0 +1,41 @@ +# docker-compose.yml — Apprise API +# Documentation : https://github.com/caronc/apprise-api + +services: + apprise: + image: caronc/apprise:latest + container_name: apprise + restart: unless-stopped + ports: + - "8000:8000" + environment: + # Mode stateful : stocke les configs de notification côté serveur + APPRISE_STATEFUL_MODE: simple + # Nombre de workers Gunicorn (adapter selon CPU) + APPRISE_WORKER_COUNT: "2" + # Interface d'administration web (y/n) + APPRISE_ADMIN: "y" + # Verrou sur la configuration (empêche la modif via UI) + APPRISE_CONFIG_LOCK: "no" + # Taille max des pièces jointes en Mo (0 = désactivé) + APPRISE_ATTACH_SIZE: "10" + # Fuseau horaire + TZ: Europe/Paris + volumes: + - /data/apprise/config:/config # Configurations de notification (clés/URLs) + - /data/apprise/plugin:/plugin # Plugins personnalisés (optionnel) + - /data/apprise/attach:/attach # Pièces jointes (optionnel) + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:8000/status"] + interval: 30s + timeout: 5s + retries: 3 + start_period: 10s + networks: + - 001-stack-npm_nginx-proxy + # Pas de ports exposés : accès uniquement via NPM + +networks: + 001-stack-npm_nginx-proxy: + external: true # Réseau créé par NPM +