updated dockerfile, example compose, and corrected typo
Security / security (push) Successful in 1m4s

This commit is contained in:
2026-05-31 18:29:31 -05:00
parent 505fe5fa7d
commit d3d22892d2
3 changed files with 7 additions and 2 deletions
+2
View File
@@ -19,3 +19,5 @@ COPY --chmod=755 ["main.sh", "/data/"]
COPY ["Start-DoneTickNotifier.ps1", "Start-DoneTickConsumer.ps1", "/data/"] COPY ["Start-DoneTickNotifier.ps1", "Start-DoneTickConsumer.ps1", "/data/"]
ENTRYPOINT ["/data/main.sh"] ENTRYPOINT ["/data/main.sh"]
EXPOSE 8080
+3
View File
@@ -3,6 +3,8 @@ services:
donetick-notifier: donetick-notifier:
container_name: donetick-notifier container_name: donetick-notifier
image: docker.io/blinkfink182/donetick-notifier image: docker.io/blinkfink182/donetick-notifier
ports:
- 8080:8080
environment: environment:
# BELOW ARE ALL REQUIRED # BELOW ARE ALL REQUIRED
- DONETICKHOST=host.docker.internal # donetick host - DONETICKHOST=host.docker.internal # donetick host
@@ -12,3 +14,4 @@ services:
- APPRISEWEBHOOKTAG=all # apprise notification tag - 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 - TZ=America/Chicago # set timezone from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
- JOB_SCHEDULE=0 * * * *
+1 -1
View File
@@ -2,7 +2,7 @@
set -e set -e
# Build the crontab dynamically from the env variable # Build the crontab dynamically from the env variable
echo "${JOB_SCHEDULE} pwsh /data/Start-DoneTineNotifier.ps1" > /tmp/crontab-runtime echo "${JOB_SCHEDULE} pwsh /data/Start-DoneTickNotifier.ps1" > /tmp/crontab-runtime
echo "Cron schedule set to: ${JOB_SCHEDULE}" echo "Cron schedule set to: ${JOB_SCHEDULE}"