API for the eLearning plattforn Great E-Learning Informatics (GELI)
10K+
GELI is an eLearning plattform espacially for computer science. This project is mainly developed by master-students of the University of Applied Science in Darmstadt, Germany. The complete code is hostet on GitHub https://github.com/h-da/geli
This container just contains the RESTful-API and depends on a mongodb. We have developed and tested with Version 3.4.3
To start the API fire up your mongo container and execute the following command:
docker run -d -p 80:80 --link mongodb:db hdafbi/geli-api
The container can be (and must to be fully functional) further configured by enviromentag variables:
| Variable Name | Effect | default |
|---|---|---|
| BASEURL | This has to be the baseurl of the web-frontend and is referenced in for example activation e-mails | http://localhost:4200 |
| DB_HOST | This has to be de address of your mongodb database | localhost |
| SECRET | This secret is used for JWT signing and database encryption | notSoSecret234oi23o423ooqnafsnaaslfj |
| PORT | The API will listen for requests on this port | 80 |
| MAILPROVIDER | The mailprovider as defined at https://nodemailer.com/smtp/well-known/ | null |
| MAILSMTPSERVER | URL of the SMTP of outgoing Mails (This will overwrite the MAILPROVIDER variable) | null |
| MAILSMTPPORT | The Port of the defined SMTP Server | 25 |
| MAILUSER | your username for the configured provider | null |
| MAILPASS | your password | null |
| MAILSENDER | The sender address | [email protected] |
Content type
Image
Digest
Size
408.9 MB
Last updated
about 7 years ago
docker pull hdafbi/geli-api