Adding example .env file

This commit is contained in:
Jordan Wages 2025-05-01 15:39:54 -05:00
parent 8a0e14f1f6
commit 4790ab08f3

32
.env.example Normal file
View file

@ -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)