- 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.directory
to/var/www/html/grade-files/tmp/
- set
mdbconnector.apisecret
to some randomly generated secret - set
mdbconnector.restricttolocalhost
tofalse
- set
- edit the pom.xml file:
- replace the
war
in 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_SECRET
to the same secret as in the MDB Connector Server configuration - set
MDB_CONN_PATH
to the empty string - set
MDB_CONN_SERVER
tomdb-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).