- working docker server
- clone the mdb_connector_server into the mdb_connector_server directory
- rename the file src/main/resources/application.properties-example to src/main/resources/application.properties
- edit the src/main/resources/application.properties file:
- set
dbfile.directoryto/var/www/html/grade-files/tmp/ - set
mdbconnector.apisecretto some randomly generated secret - set
mdbconnector.restricttolocalhosttofalse
- set
- edit the pom.xml file:
- replace the
warin the 'packaging' line byjar:... <packaging>jar</packaging> ...
- replace the
- clone the schild_webenm into the schild_webenm directory
- rename the constants.php-example files to constants.php
- edit the lib/MDBConnector/constants.php file:
- set
API_SECRETto the same secret as in the MDB Connector Server configuration - set
MDB_CONN_PATHto the empty string - set
MDB_CONN_SERVERtomdb-connector-server
- set
- edit the other configuration files as you need them (look at the schild_webenm-README for more information)
You can now run the containers by typing
docker compose up
into a terminal.
Notice that you have to run
docker compose up --build
whenever you make changes in the configuration files.
- The docker command will fail if the line endings of the files are not LF. Make sure that they are LF (especially for the mvnw-file).