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}