Create and publish documents to a LTI enabled document repository with learner tracking.
10K+
Dockerfile linksLTI-suite server instanceTo run the default LTI-suite server in the background, use the following command:
$ docker run --name LTI-suite -d --publish 8080:8080 -e SC_MARIADB_HOST=mariadb -e SC_MARIADB_USER=ltisuite -e SC_MARIADB_DATABASE=ltisuite -e SC_MARIADB_PASSWORD=changeMe -e SC_WEBAPP_NAME=ltisuite -e SC_PUBLIC_URL=http://127.0.0.1:8080/ltisuite scenari/lti-suite:latest
You can test it by visiting http://127.0.0.1:8080/ltisuite/& in a browser (login/password: admin/admin).
Options for Java (Example for set JVM Memory, 1024MB by default). By default: -Xms1024m -Xmx1024m
Name of the webapp. By default: ltisuite10
Display name. By default: LTI-suite
App Language fr or en . By default: fr
SC_PUBLIC_URL is mandatory. User access URL to the webapp. Example: SC_PUBLIC_URL=http://mydomain:8080/$SC_WEBAPP_NAME
Set the password for the "system" user. By default it is automatically generated at each start.
Set the password for the "superadmin" user. By default it is automatically generated at each start.
Set to true for display generated password in docker logs. By default: false
Set to true for enable LDAP. By default: false
Set URL of your LDAP. Example: ldaps://example.org
Set BaseName of your LDAP. Example: ou=people,dc=example,dc=org
Set SearchPattern of your LDAP. Example: (&(objectClass=Person)(\|(sn={0})(givenName={0})))
You need to escape each character |.
Set a Login if you do not use Anonymous authentication. Example: uid=scenari_search,ou=service,dc=example,dc=org
Set a Password if you do not use Anonymous authentication. Example: ExamplePasswordChangeMe
Set a URL for Language Tool. Example: https://api.languagetool.org or https://api.languagetoolplus.com
Set the Max Length by request to Language Tool. Example: 20000
If you use Language Tool Premium , set SC_LT_API_USER with your Username.
If you use Language Tool Premium , set SC_LT_API_KEY with your API Key.
SC_MARIADB_HOST is mandatory. Hostname for the MariaDB server. Example: db.domain.local
Set Port for MariaDB server. By default: 3306
Set Database Username for MariaDB server. By default value of MARIADB_USER variable.
Set Database Name for MariaDB server. By default value of MARIADB_DATABASE variable.
The Database need to use Collation utf8mb4_bin.
Set Database Password for MariaDB server. By default value of MARIADB_PASSWORD variable.
Each path need read/write permissions for UID 3000.
/var/log/jetty/var/lib/scenari (By default a Volume)/var/log/scenariSteps:
sc_backup pre in LTI-suite container. Example: docker exec LTI-suite sc_backup pre/var/lib/scenarisc_backup post in LTI-suite container. Example: docker exec LTI-suite sc_backup postSteps:
/var/lib/scenari/var/lib/scenari/data/prl-chain/db by content of directory /var/lib/scenari/backup/prl-chain/dbBkpHealth check for the Chain DB, call this command once a days.
sc_backup check_chain_db in LTI-suite container. Example: docker exec LTI-suite sc_backup check_chain_dbhttps://doc.scenari.software/[email protected]/linux/
services:
mariadb:
image: mariadb:11.8
stop_grace_period: 120s
restart: always
environment:
- MARIADB_AUTO_UPGRADE=1
- MARIADB_ROOT_PASSWORD=changeRootPassword
- MARIADB_USER=ltisuite
- MARIADB_DATABASE=ltisuite
- MARIADB_PASSWORD=changeMe
volumes:
- mariadbdata:/var/lib/mysql
ltisuite:
depends_on:
- mariadb
image: scenari/lti-suite:2.0
stop_grace_period: 120s
restart: always
environment:
- SC_PUBLIC_URL=http://127.0.0.1:8080/ltisuite
- SC_WEBAPP_NAME=ltisuite
- SC_MARIADB_HOST=mariadb
- SC_MARIADB_USER=ltisuite
- SC_MARIADB_DATABASE=ltisuite
- SC_MARIADB_PASSWORD=changeMe
volumes:
- scenaridata:/var/lib/scenari
- jettylog:/var/log/jetty
- scenarilog:/var/log/scenari
ports:
- 8080:8080
volumes:
mariadbdata: {}
scenaridata: {}
scenarilog: {}
jettylog: {}
Content type
Image
Digest
sha256:5c8963a8a…
Size
1.4 GB
Last updated
about 1 month ago
docker pull scenari/lti-suite