Lettohub/lettoserver: Unterschied zwischen den Versionen
(→Environment Variable) |
|||
Zeile 63: | Zeile 63: | ||
|- | |- | ||
| TZ || Zeitzone || Europe/Berlin || nein | | TZ || Zeitzone || Europe/Berlin || nein | ||
− | |||
− | |||
|- | |- | ||
− | | | + | | LC_ALL || Spracheinstellung || de_DE.UTF-8 || nein |
|- | |- | ||
− | | | + | | mysqlhost=${LETTO_1_MYSQL_HOST:-letto-mysql.nw-letto:3306} |
|- | |- | ||
− | | | + | | mysqldb=${LETTO_1_MYSQL_DATABASE:-letto} |
|- | |- | ||
− | | | + | | mysqlpars=${LETTO_1_MYSQL_LETTO_PARS:-useSSL=false&useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC&allowPublicKeyRetrieval=true} |
|- | |- | ||
− | | | + | | memory=${LETTO_1_MEMORY:-500M} |
|- | |- | ||
− | | | + | | mysqluser=${LETTO_1_MYSQL_USER:-letto} |
|- | |- | ||
− | | | + | | mysqlpassword=${LETTO_1_MYSQL_PASSWORD} |
|- | |- | ||
− | | | + | | letto_local_restkey=${LETTO_RESTKEY:-} |
|- | |- | ||
− | | | + | | jwt_secret || Base64 kodiertes Token-Secret für die Authentifizierung || || ja |
|- | |- | ||
− | | | + | | server_secret || Base64 kodiertes Token-Secret für die Server-Server Kommunikation || || ja |
|- | |- | ||
− | | | + | | letto_local_privatkey || Privater Schlüssel für die Kommunkation || || ja |
|- | |- | ||
− | | letto_user_admin_password || Klartextpasswort für die Kommunikation zu einem anderen Service als Benutzer admin|| || | + | | letto_local_publickey || öffentlicher Schlüssel für die Kommunikation || || ja |
+ | |- | ||
+ | | school=${LETTO_1_SCHOOL} | ||
+ | |- | ||
+ | | letto_school=${LETTO_1_SCHOOL} | ||
+ | |- | ||
+ | | letto_schulen=${LETTO_SCHULEN} | ||
+ | |- | ||
+ | | letto_pathImages=/opt/letto/images | ||
+ | |- | ||
+ | | letto_webPathImages=/images | ||
+ | |- | ||
+ | | letto_pathImagesPhotos=/opt/letto/photos | ||
+ | |- | ||
+ | | letto_webPathImagesPhotos=/images/photos/${LETTO_1_SCHOOL} | ||
+ | |- | ||
+ | | letto_pathImagesPlugins=/opt/letto/plugins | ||
+ | |- | ||
+ | | letto_webPathImagesPlugins=/images/plugins/${LETTO_1_SCHOOL} | ||
+ | |- | ||
+ | | letto_pathProjekte=/opt/letto/projekte | ||
+ | |- | ||
+ | | letto_pathProjektAbgaben=/opt/letto/projekte | ||
+ | |- | ||
+ | | letto_webPathProjekte=/projekte/${LETTO_1_SCHOOL} | ||
+ | |- | ||
+ | | letto_schule_standard_lizenz=${LETTO_1_LICENCE} | ||
+ | |- | ||
+ | | letto_schule_standard_idschule_lizenz=${LETTO_1_ID_SCHULE_LIZENZ} | ||
+ | |- | ||
+ | | letto_schule_standard_idschule_data=${LETTO_1_ID_SCHULE_DATA} | ||
+ | |- | ||
+ | | letto_schule_standard_schulname=${LETTO_1_SCHULNAME} | ||
+ | |- | ||
+ | | letto_schule_standard_lettodata_uri=${LETTO_1_DATA_URI} | ||
+ | |- | ||
+ | | letto_schule_standard_lettodata_user=${LETTO_1_DATA_USER} | ||
+ | |- | ||
+ | | letto_schule_standard_lettodata_password=${LETTO_1_DATA_PASSWORD} | ||
+ | |- | ||
+ | | letto_schule_standard_letto_uri=${LETTO_1_LETTO_URI} | ||
+ | |- | ||
+ | | letto_schule_standard_login_uriextern=${LETTO_1_LOGIN_URI_EXTERN} | ||
+ | |- | ||
+ | | letto_schule_standard_letto_uriextern=${LETTO_1_LETTO_URI_EXTERN} | ||
+ | |- | ||
+ | | letto_lizenzAutomatic=0 || automatische Lizenz sollte auf 0 gesetzt sein! || ja | ||
+ | |- | ||
+ | | letto_license_server || URL des Lizenz-Servers für den Lizenz-Check || https://letto.at/lettolicense || nein | ||
+ | |- | ||
+ | | letto_user_user_password || Klartextpasswort für die Kommunikation zu einem anderen Service als Benutzer user || || ja | ||
+ | |- | ||
+ | | letto_user_gast_password || Klartextpasswort für die Kommunikation zu einem anderen Service als Benutzer gast|| || ja | ||
+ | |- | ||
+ | | letto_user_admin_password || Klartextpasswort für die Kommunikation zu einem anderen Service als Benutzer admin|| || ja | ||
+ | |- | ||
+ | | letto_lettodata_uri=${LETTO_1_DATA_URI} | ||
+ | |- | ||
+ | | letto_lti_uri=${LETTO_LTI_URI:-http://letto-lti.nw-letto:8090} | ||
+ | |- | ||
+ | | letto_image_uri=${LETTO_IMAGE_URI:-http://letto-image.nw-letto:8091} | ||
+ | |- | ||
+ | | letto_math_uri=${LETTO_MATH_URI:-http://letto-math.nw-letto:8092} | ||
+ | |- | ||
+ | | letto_demo_uri=${LETTO_DEMO_URI:-http://letto-demo.nw-letto:8093} | ||
+ | |- | ||
+ | | letto_mail_uri=${LETTO_MAIL_URI:-http://letto-mail.nw-letto:8094} | ||
+ | |- | ||
+ | | letto_login_uri=${LETTO_LOGIN_URI:-http://letto-login.nw-letto:8095} | ||
+ | |- | ||
+ | | letto_setup_uri=${LETTO_SETUP_URI:-http://letto-setup.nw-letto:8096} | ||
+ | |- | ||
+ | | letto_print_uri=${LETTO_PRINT_URI:-http://letto-print.nw-letto:8098} | ||
+ | |- | ||
+ | | letto_export_uri=${LETTO_EXPORT_URI:-http://letto-export.nw-letto:8099} | ||
+ | |- | ||
+ | | letto_beurteilung_uri=${LETTO_BEURTEILUNG_URI:-http://letto-beurteilung.nw-letto:8100} | ||
+ | |- | ||
+ | | letto_test_uri=${LETTO_TEST_URI:-http://letto-test.nw-letto:8101} | ||
+ | |- | ||
+ | | letto_question_uri=${LETTO_QUESTION_URI:-http://letto-question.nw-letto:8102} | ||
+ | |- | ||
+ | | letto_plugin_uri=${LETTO_PLUGIN_URI:-http://letto-plugin.nw-letto:8200} | ||
+ | |- | ||
+ | | letto_pluginsourcecode_uri=${LETTO_PLUGINSOURCECODE_URI:-http://letto-pluginsourcecode.nw-letto:8204} | ||
+ | |- | ||
+ | | letto_lettoedit_uri=${LETTO_LETTOEDIT_URI:-http://letto-lettoedit.nw-letto:8310} | ||
+ | |- | ||
+ | | letto_lehrplan_uri=${LETTO_LEHRPLAN_URI:-http://letto-lehrplan.nw-letto:8700} | ||
+ | |- | ||
+ | | letto_servername=${SERVER_NAME} | ||
+ | |- | ||
+ | | letto_letto_uri=${LETTO_1_LETTO_URI:-http://localhost:8080} | ||
|- | |- | ||
| letto_login_uri || Docker-interne URL des Login-Services || http://letto-login.nw-letto:8095 || ja | | letto_login_uri || Docker-interne URL des Login-Services || http://letto-login.nw-letto:8095 || ja | ||
|- | |- | ||
− | | | + | | letto_letto_uri_extern=${LETTO_1_LETTO_URI_EXTERN:-https://localhost/lettoexchange} |
− | |- | + | |- |
− | | | + | | letto_useEdit=${LETTO_1_USEEDIT:-false} |
+ | |- | ||
+ | | letto_public_js=/opt/letto/public/js | ||
+ | |- | ||
+ | | letto_use_http=${USE_HTTP:-0} | ||
+ | |- | ||
+ | | CATALINA_OPTS || Java Options-Variable für den LeTTo-Server || -Xms500m -Xmx1G || ja | ||
|- | |- | ||
| debug || Startet den Container im Debugging-Mode auf Port 5096 || false || nein | | debug || Startet den Container im Debugging-Mode auf Port 5096 || false || nein |
Version vom 15. Oktober 2023, 17:35 Uhr
siehe auch
Inhaltsverzeichnis
Setup-Service
Container
lettohub/lettoserver
Tags
Tag | Beschreibung | Anmerkung |
beta | Beta Version für Beta-Test-Phasen, nicht für den Produktivbetrieb | |
daily | tagesaktuelle Letztversion für den Produktivbetrieb von ausgewählten Testschulen | |
stable | letzte stabile Version für den Produktivbetrieb | |
debug | Bitte nicht verwenden ist tagesaktuell nur für Debugging-Zwecke | |
revXXXX | Revision mit der Nummer XXXX. Nur wenn man eine definierte Version verwenden möchte. |
Ports
Port | Beschreibung |
8080 | http-Port für die interne Kommunikation innerhalb des Docker-Netzwerkes |
9080 | https-Port mit selbstsigniertem Zertifikat für externe Kommunkation |
5080 | debugging-Port, aktiv wenn die Environment-Variable debug=true gesetzt wird |
Pfade welche als Volume verbunden werden sollten
school muss durch das Schulkürzel ersetzt werden!!
Pfad im Docker Container | Beschreibung | üblicher Wert |
/opt/letto/public | statische öffentliche Webinhalte vom Server für Werbeeinschaltungen | /opt/letto/docker/public |
/opt/letto/images | Bilddateien müssen über https://dnsname/images erreichbar sein | /opt/letto/docker/storage/images |
/opt/letto/plugins | Plugin-Bilddateien, müssen über https://dnsname/images/plugins/school erreichbar sein | /opt/letto/docker/storage/plugins/school |
/opt/letto/pluginstmp | temporäre Plugin-Bilddateien, müssen über https://dnsname/images/plugins/schooltmp erreichbar sein | /opt/letto/docker/storage/plugins/schooltmp |
/opt/letto/photos | Schülerphotos, müssen über https://dnsname/images/photos/school erreichbar sein | /opt/letto/docker/storage/photos/school |
/opt/letto/projekte | Dateibgaben von Schülern, müssen über https://dnsname/projekte/school erreichbar sein | /opt/letto/docker/storage/projekte/school |
/opt/letto/print | PDF-Dateien, noch nicht verwendet | /opt/letto/docker/storage/print |
/opt/letto/export | Export und Import-Dateien für das Export-Service | /opt/letto/docker/storage/export |
/opt/letto/log | Verzeichnis für die Logfiles | /opt/letto/docker/storage/log/letto/school |
Environment Variable
Variable | Beschreibung | üblicher Wert | muss gesetzt sein |
TZ | Zeitzone | Europe/Berlin | nein |
LC_ALL | Spracheinstellung | de_DE.UTF-8 | nein |
mysqlhost=${LETTO_1_MYSQL_HOST:-letto-mysql.nw-letto:3306} | |||
mysqldb=${LETTO_1_MYSQL_DATABASE:-letto} | |||
mysqlpars=${LETTO_1_MYSQL_LETTO_PARS:-useSSL=false&useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC&allowPublicKeyRetrieval=true} | |||
memory=${LETTO_1_MEMORY:-500M} | |||
mysqluser=${LETTO_1_MYSQL_USER:-letto} | |||
mysqlpassword=${LETTO_1_MYSQL_PASSWORD} | |||
letto_local_restkey=${LETTO_RESTKEY:-} | |||
jwt_secret | Base64 kodiertes Token-Secret für die Authentifizierung | ja | |
server_secret | Base64 kodiertes Token-Secret für die Server-Server Kommunikation | ja | |
letto_local_privatkey | Privater Schlüssel für die Kommunkation | ja | |
letto_local_publickey | öffentlicher Schlüssel für die Kommunikation | ja | |
school=${LETTO_1_SCHOOL} | |||
letto_school=${LETTO_1_SCHOOL} | |||
letto_schulen=${LETTO_SCHULEN} | |||
letto_pathImages=/opt/letto/images | |||
letto_webPathImages=/images | |||
letto_pathImagesPhotos=/opt/letto/photos | |||
letto_webPathImagesPhotos=/images/photos/${LETTO_1_SCHOOL} | |||
letto_pathImagesPlugins=/opt/letto/plugins | |||
letto_webPathImagesPlugins=/images/plugins/${LETTO_1_SCHOOL} | |||
letto_pathProjekte=/opt/letto/projekte | |||
letto_pathProjektAbgaben=/opt/letto/projekte | |||
letto_webPathProjekte=/projekte/${LETTO_1_SCHOOL} | |||
letto_schule_standard_lizenz=${LETTO_1_LICENCE} | |||
letto_schule_standard_idschule_lizenz=${LETTO_1_ID_SCHULE_LIZENZ} | |||
letto_schule_standard_idschule_data=${LETTO_1_ID_SCHULE_DATA} | |||
letto_schule_standard_schulname=${LETTO_1_SCHULNAME} | |||
letto_schule_standard_lettodata_uri=${LETTO_1_DATA_URI} | |||
letto_schule_standard_lettodata_user=${LETTO_1_DATA_USER} | |||
letto_schule_standard_lettodata_password=${LETTO_1_DATA_PASSWORD} | |||
letto_schule_standard_letto_uri=${LETTO_1_LETTO_URI} | |||
letto_schule_standard_login_uriextern=${LETTO_1_LOGIN_URI_EXTERN} | |||
letto_schule_standard_letto_uriextern=${LETTO_1_LETTO_URI_EXTERN} | |||
letto_lizenzAutomatic=0 | automatische Lizenz sollte auf 0 gesetzt sein! | ja | |
letto_license_server | URL des Lizenz-Servers für den Lizenz-Check | https://letto.at/lettolicense | nein |
letto_user_user_password | Klartextpasswort für die Kommunikation zu einem anderen Service als Benutzer user | ja | |
letto_user_gast_password | Klartextpasswort für die Kommunikation zu einem anderen Service als Benutzer gast | ja | |
letto_user_admin_password | Klartextpasswort für die Kommunikation zu einem anderen Service als Benutzer admin | ja | |
letto_lettodata_uri=${LETTO_1_DATA_URI} | |||
letto_lti_uri=${LETTO_LTI_URI:-http://letto-lti.nw-letto:8090} | |||
letto_image_uri=${LETTO_IMAGE_URI:-http://letto-image.nw-letto:8091} | |||
letto_math_uri=${LETTO_MATH_URI:-http://letto-math.nw-letto:8092} | |||
letto_demo_uri=${LETTO_DEMO_URI:-http://letto-demo.nw-letto:8093} | |||
letto_mail_uri=${LETTO_MAIL_URI:-http://letto-mail.nw-letto:8094} | |||
letto_login_uri=${LETTO_LOGIN_URI:-http://letto-login.nw-letto:8095} | |||
letto_setup_uri=${LETTO_SETUP_URI:-http://letto-setup.nw-letto:8096} | |||
letto_print_uri=${LETTO_PRINT_URI:-http://letto-print.nw-letto:8098} | |||
letto_export_uri=${LETTO_EXPORT_URI:-http://letto-export.nw-letto:8099} | |||
letto_beurteilung_uri=${LETTO_BEURTEILUNG_URI:-http://letto-beurteilung.nw-letto:8100} | |||
letto_test_uri=${LETTO_TEST_URI:-http://letto-test.nw-letto:8101} | |||
letto_question_uri=${LETTO_QUESTION_URI:-http://letto-question.nw-letto:8102} | |||
letto_plugin_uri=${LETTO_PLUGIN_URI:-http://letto-plugin.nw-letto:8200} | |||
letto_pluginsourcecode_uri=${LETTO_PLUGINSOURCECODE_URI:-http://letto-pluginsourcecode.nw-letto:8204} | |||
letto_lettoedit_uri=${LETTO_LETTOEDIT_URI:-http://letto-lettoedit.nw-letto:8310} | |||
letto_lehrplan_uri=${LETTO_LEHRPLAN_URI:-http://letto-lehrplan.nw-letto:8700} | |||
letto_servername=${SERVER_NAME} | |||
letto_letto_uri=${LETTO_1_LETTO_URI:-http://localhost:8080} | |||
letto_login_uri | Docker-interne URL des Login-Services | http://letto-login.nw-letto:8095 | ja |
letto_letto_uri_extern=${LETTO_1_LETTO_URI_EXTERN:-https://localhost/lettoexchange} | |||
letto_useEdit=${LETTO_1_USEEDIT:-false} | |||
letto_public_js=/opt/letto/public/js | |||
letto_use_http=${USE_HTTP:-0} | |||
CATALINA_OPTS | Java Options-Variable für den LeTTo-Server | -Xms500m -Xmx1G | ja |
debug | Startet den Container im Debugging-Mode auf Port 5096 | false | nein |
Docker Compose
- .yml File: http://letto.at/download/letto/setup/yml/docker-compose-school.yml
- Environment Einstellungen für die .env-Datei LeTTo Environment