From 6abb31dfe70d5d47e36b67f1cbbad79c01f1fd90 Mon Sep 17 00:00:00 2001 From: Gitea Sync Bot Date: Sat, 19 Apr 2025 22:18:02 +0100 Subject: [PATCH] Sync bin-collection-reminder from Gitea to monorepo Repository: admin/bin-collection-reminder Timestamp: 2025-04-19_22-18-01 Target directory: projects/bin-collection-reminder --- projects/bin-collection-reminder/.env | 22 +++++++++++++++++++ projects/bin-collection-reminder/.gitignore | 2 ++ projects/bin-collection-reminder/README.md | 3 +++ projects/bin-collection-reminder/compose.yaml | 19 ++++++++++++++++ 4 files changed, 46 insertions(+) create mode 100644 projects/bin-collection-reminder/.env create mode 100644 projects/bin-collection-reminder/.gitignore create mode 100644 projects/bin-collection-reminder/README.md create mode 100644 projects/bin-collection-reminder/compose.yaml diff --git a/projects/bin-collection-reminder/.env b/projects/bin-collection-reminder/.env new file mode 100644 index 0000000..9012213 --- /dev/null +++ b/projects/bin-collection-reminder/.env @@ -0,0 +1,22 @@ +# Required settings +UPRN= + +# Cron settings (default: Monday at 6PM) +CRON_SCHEDULE=0 18 * * 1 + +# Discord notification settings +DISCORD_ENABLED=false +DISCORD_WEBHOOK= + +# WhatsApp notification settings (via CallMeBot) +WHATSAPP_ENABLED=false +WHATSAPP_PHONE= +WHATSAPP_APIKEY= + +# Email notification settings +EMAIL_ENABLED=false +EMAIL_SMTP_SERVER=smtp.gmail.com +EMAIL_SMTP_PORT=587 +EMAIL_SENDER= +EMAIL_PASSWORD= +EMAIL_RECIPIENT= diff --git a/projects/bin-collection-reminder/.gitignore b/projects/bin-collection-reminder/.gitignore new file mode 100644 index 0000000..7b8eeeb --- /dev/null +++ b/projects/bin-collection-reminder/.gitignore @@ -0,0 +1,2 @@ +.DS_Store +.vscode/ diff --git a/projects/bin-collection-reminder/README.md b/projects/bin-collection-reminder/README.md new file mode 100644 index 0000000..0df1276 --- /dev/null +++ b/projects/bin-collection-reminder/README.md @@ -0,0 +1,3 @@ +# bin-collection-reminder + +This is the bin-collection-reminder Docker Compose stack extracted from the homelab monorepo. diff --git a/projects/bin-collection-reminder/compose.yaml b/projects/bin-collection-reminder/compose.yaml new file mode 100644 index 0000000..90ab4f4 --- /dev/null +++ b/projects/bin-collection-reminder/compose.yaml @@ -0,0 +1,19 @@ +services: + bin-collection-reminder: + image: terrifiedbug/bin-collection-reminder:latest + container_name: bin-collection-reminder + restart: unless-stopped + environment: + - UPRN=${UPRN} + - CRON_SCHEDULE=${CRON_SCHEDULE} + - DISCORD_ENABLED=${DISCORD_ENABLED} + - DISCORD_WEBHOOK=${DISCORD_WEBHOOK} + - WHATSAPP_ENABLED=${WHATSAPP_ENABLED} + - WHATSAPP_PHONE=${WHATSAPP_PHONE} + - WHATSAPP_APIKEY=${WHATSAPP_APIKEY} + - EMAIL_ENABLED=${EMAIL_ENABLED} + - EMAIL_SMTP_SERVER=${EMAIL_SMTP_SERVER} + - EMAIL_SMTP_PORT=${EMAIL_SMTP_PORT} + - EMAIL_SENDER=${EMAIL_SENDER} + - EMAIL_PASSWORD=${EMAIL_PASSWORD} + - EMAIL_RECIPIENT=${EMAIL_RECIPIENT}