Emerse 7 in Containers
- MariaDB Server (
mariadb:latest) - Apache Tomcat (
tomcat:10) - Apache Solr (The official build of
solr:9.8-slimuses a version 17 JDK, but we need version 21, so we build a custom image with a modified version of the official Dockerfile.)
Pull all of the required assets — requires the GitHub command-line tool — and puts them in the $ASSETS directory.
- Unzip the Emerse Solr indexes from the
$ASSETSdirectory into the$SOLR_HOMEdirectory. - Modify the default
emerse.propertiesfile with local values. (The${VAR}syntax does not seem to work in the Emerse project.)
| name | value |
|---|---|
| TZ | server timezone |
| EMERSE_DB_PASSWORD | for the MariaDB Emerse database |
| EMERSE_HOME | local folder to mount as the Emerse home in Tomcat |
| ASSETS | local folder to hold downloaded assets |
| SOLR_HOME | local folder to mount in Solr with index files |
| MARIADB_ROOT_PASSWORD | needed to run the healthcheck |