From 4790ab08f32326abe6864b828d4edcf6c54167d5 Mon Sep 17 00:00:00 2001 From: wagesj45 Date: Thu, 1 May 2025 15:39:54 -0500 Subject: [PATCH] Adding example .env file --- .env.example | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..c531687 --- /dev/null +++ b/.env.example @@ -0,0 +1,32 @@ +# CalDAV config +CALDAV_BASE_URL=https://your.caldav.server/remote.php/dav/calendars/username/ +CALDAV_PRINCIPAL=https://your.caldav.server/remote.php/dav/principals/users/username/ +CALDAV_USERNAME=your-username +CALDAV_PASSWORD=your-password + +# Optional: comma-separated list of calendar URLs to override discovery + +CALDAV_CALENDARS= + +# Database + +DB_PATH=/data/sync\_state.db +FETCH_WINDOW\_DAYS=90 +RETENTION_DAYS=30 + +# SMTP / Email + +SMTP_HOST=smtp.example.com +SMTP_PORT=465 +SMTP_USERNAME=user@example.com +SMTP_PASSWORD=your-smtp-password +SMTP_USE\_TLS=true # For SMTPS (implicit SSL on connect) +SMTP_USE\_STARTTLS=false # For opportunistic upgrade after plain connect +EMAIL_FROM=reminder@example.com +EMAIL_TO=your@email.com +EMAIL_SUBJECT\_PREFIX=Calendar Reminder: + +# Optional override intervals + +SYNC_INTERVAL=300 # Seconds between syncs (default 300 = 5 min) +DISPATCH_INTERVAL=60 # Seconds between checks for reminders (default 60) \ No newline at end of file