Files
BerichtExporter/README.md
Lino Schmidt 9968337249
All checks were successful
Build and Push / build_and_push (push) Successful in 2m19s
docker-compose fix
2024-11-09 23:31:20 +01:00

1.2 KiB

BerichtExporter

Verwendung

Docker Compose

  • docker-compose.yaml in einem Verzeichnis erstellen
  • folgenden Inhalt einfügen und anpassen:
version: '3.7'
services:
    berichtexporter:
        image: gitea.lino3d.de/lino/berichtexporter: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

(Nicht benötigte Umgebungsvariablen können entfernt werden)

  • docker-compose up -d im Verzeichnis ausführen