mirror of
https://github.com/BreizhHardware/ntfy_alerts.git
synced 2026-01-18 16:37:28 +01:00
Update entrypoint.sh
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# Check if USERNAME and PASSWORD environment variables are defined
|
||||
if [ -n "$USERNAME" ] && [ -n "$PASSWORD" ]; then
|
||||
# Generate auth.txt file content from environment variables
|
||||
echo -n "$USERNAME:$PASSWORD" | base64 > /auth.txt
|
||||
echo -n "$USERNAME:$PASSWORD" > /auth.txt
|
||||
echo "Authentication file generated from environment variables"
|
||||
else
|
||||
echo "USERNAME and/or PASSWORD variables not defined"
|
||||
|
||||
Reference in New Issue
Block a user