Files
ntfy_alerts/entrypoint.sh
2024-03-01 13:04:40 +01:00

8 lines
195 B
Bash

#!/bin/sh
# Génère le contenu du fichier auth.txt à partir des variables d'environnement
echo -n "$USERNAME:$PASSWORD" | base64 > /auth.txt
# Exécute le script Python
exec python ./ntfy.py