allowing for setting timezone
Security / security (push) Successful in 2m5s

This commit is contained in:
2026-05-14 21:20:00 -05:00
parent 1dc15708b9
commit 3a39a39be8
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ FROM mcr.microsoft.com/powershell:7.5-ubuntu-24.04
USER root
RUN apt-get update \
&& apt-get install -y --no-install-recommends ca-certificates \
&& apt-get install -y --no-install-recommends tzdata \
&& apt-get dist-upgrade -y \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
+1
View File
@@ -109,6 +109,7 @@ while ($true) {
}
Write-Host "Finding next notification time..."
Write-Host "Current time: $(Get-Date)"
$nextNotificationTomorrow = $true
foreach($time in $notificationTimes)
{
+2 -1
View File
@@ -10,4 +10,5 @@ services:
- DONETICKAPIKEY=adminpass # donetick API key
- APPRISEWEBHOOKURL=https://apprisehost/notify/config # apprise notification url
- APPRISEWEBHOOKTAG=all # apprise notification tag
- NOTIFICATIONTIMES=8,12,17 # hours when notifications will be sent
- NOTIFICATIONTIMES=8,12,17 # hours when notifications will be sent
- TZ=America/Chicago # set timezone from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List