updated dockerfile, example compose, and corrected typo
Security / security (push) Successful in 1m4s
Security / security (push) Successful in 1m4s
This commit is contained in:
@@ -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
|
||||||
+4
-1
@@ -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
|
||||||
@@ -11,4 +13,5 @@ services:
|
|||||||
- APPRISEWEBHOOKURL=https://apprisehost/notify/config # apprise notification url
|
- APPRISEWEBHOOKURL=https://apprisehost/notify/config # apprise notification url
|
||||||
- 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 * * * *
|
||||||
@@ -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}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user