Read in .env file

This commit is contained in:
2023-09-12 09:41:16 +02:00
parent 42ebe789a1
commit 31cbe68244
4 changed files with 29 additions and 0 deletions

9
example.env Normal file
View File

@@ -0,0 +1,9 @@
ONLY_SHOW_AVAILABLE=true # Optional, default: true (only show available reports in the UI)
CALDAV_URL=https://example.com/calendars/ # URL to the caldav server
CALDAV_USER=USERNAME # Username for the caldav server
CALDAV_PASSWORD=PASSWORD # Password for the caldav server
CALDAV_CALENDAR=CALENDARNAME # Calendar name from the caldav server
UNTIS_SCHOOLS=School1,School2 # Comma seperated list of schools (find in URL when logging in to untis, replace + with space)
UNTIS_USERNAMES=USERNAME1,USERNAME2 # Usernames for untis schools
UNTIS_PASSWORDS=PASSWORD1,PASSWORD2 # Passwords for untis schools
UNTIS_SERVERS=server1.webuntis.com,server2.webuntis.com # Servers for untis chools