1.3 KiB
1.3 KiB
BerichtExporter
Verwendung
Docker Compose
docker-compose.yamlin einem Verzeichnis erstellen- folgenden Inhalt einfügen und anpassen:
version: '3.7'
services:
berichtexporter:
image: registry.gitlab.lino3d.de:443/lino/berichtexporter/main:latest
restart: unless-stopped
ports:
- 3000:3000
environment:
- '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=cissa.webuntis.com,neilo.webuntis.com' # Servers for untis chools
(Nicht benötigte Umgebungsvariablen können entfernt werden)
docker-compose up -dim Verzeichnis ausführen