mycoreorg/mir

Sponsored OSS

By mycoreorg

Updated 8 days ago

MIR is an open source repository software build upon MyCoRe and MODS

Image
Languages & Frameworks
Integration & Delivery
Operating Systems
0

984

See also: Github and Website

MIR-Docker

The docker container has its own install script which uses the environment variables.

Environment Variables

PropertyDefault, requiredDescription
SOLR_URLnone, requiredThe URL to the SOLR Server. Same as MCR.Solr.ServerURL in mycore.properties.
SOLR_COREmirThe name of the Solr main core. Same as MCR.Solr.Core.main.Name in mycore.properties.
SOLR_CLASSIFICATION_COREmir-classificationsThe name of the Solr classification core. Same as MCR.Solr.Core.classification.Name in mycore.properties.
JDBC_NAMEnone, requiredThe username for the Database authentication. Same as javax.persistence.jdbc.user in persistence.xml.
JDBC_PASSWORDnone, requiredThe password for the Database authentication. Same as javax.persistence.jdbc.password in persistence.xml.
JDBC_DRIVERnone, requiredThe driver for the Database. Same as javax.persistence.jdbc.driver in persistence.xml. If you use org.postgresql.Driver, org.mariadb.jdbc.Driver, org.hsqldb.jdbcDriver, org.h2.Driver or com.mysql.jdbc.Driver the right database drivers get downloaded by the installer script.
JDBC_URLnone, requiredThe schema for the Database. Same as hibernate.default_schema in persistence.xml.
APP_CONTEXTmirThe url context in which the app lifes. (The .war will be renamed to the $APP_CONTEXT.war)
MCR_CONFIG_DIR/mcr/home/The location for the home directory. Same as the MCR.ConfigDir .
MCR_DATA_DIR/mcr/data/The location for the data directory. Same as MCR.datadir in mycore.properties.
XMX1gThe value of the -Xmx parameter for Tomcat.
XMS1gThe value of the -Xms parameter for Tomcat.

Mount Points

The paths in MCR_CONFIG_DIR and MCR_DATA_DIR should be mountet. Default values are /mcr/home/ and /mcr/data/.

Docker Pull Command

docker pull mycoreorg/mir