Skip to content

Latest commit

 

History

History
89 lines (65 loc) · 4.54 KB

README.md

File metadata and controls

89 lines (65 loc) · 4.54 KB

Fcrepo

Docker image for Fcrepo version 6.4.1.

Please refer to the Fcrepo Documentation for more in-depth information.

As a quick example this will bring up an instance of Fcrepo, and allow you to view on http://localhost:80/fcrepo/.

docker run --rm -ti -p 80:80 islandora/fcrepo

Dependencies

Requires islandora/tomcat docker image to build. Please refer to the Tomcat Image README for additional information including additional settings, volumes, ports, etc.

Volumes

Path Description
/data OCFL Filesystem

N.B. Volumes are not created automatically. It is up to the user to either bind mount or attach a volume at the paths specified above.

Settings

Confd Settings

Environment Variable Default Description
FCREPO_ACTIVEMQ_BROKER tcp://activemq:61616 The location of the ActiveMQ Broker in which to publish JMS messages to
FCREPO_ACTIVEMQ_QUEUE fedora The ActiveMQ Queue in which to publish JMS messages
FCREPO_ACTIVEMQ_QUEUE_ENABLE false If true publish JMS messages on the queue FCREPO_ACTIVEMQ_QUEUE
FCREPO_ACTIVEMQ_TOPIC fedora The ActiveMQ Topic in which to publish JMS messages
FCREPO_ACTIVEMQ_TOPIC_ENABLE true If true publish JMS messages on the topic FCREPO_ACTIVEMQ_TOPIC
FCREPO_BINARYSTORAGE_TYPE file The binary storage type. Only file and s3 are supported at this time
FCREPO_AWS_REGION us-east-1 AWS Region for S3 Bucket
FCREPO_S3_BUCKET Bucket to use for S3 Storage
FCREPO_S3_USER AWS User for S3 Storage
FCREPO_S3_PASSWORD AWS Secret Token for S3 Storage
FCREPO_S3_PREFIX AWS Prefix for S3 Storage
FCREPO_PERSISTENCE_TYPE file The object store type. Only file, mysql, postgresql are supported at this time
FCREPO_DISABLE_SYN false Enable or disable authentication via Syn

To allow external content provide sites as key pairs. Wherein multiple values is the url and the 'name' is a key that replaces the '*' symbol below.

Environment Variable
FCREPO_ALLOW_EXTERNAL_*

JWT Settings

Fcrepo makes use of JWT for authentication. Please see the documentation in the base image for more information.

Database Settings

Fcrepo can optionally make use of a database for object storage. Please see the documentation in the base image for more information about the default database connection configuration.

The following settings are only used if FCREPO_PERSISTENCE_TYPE is set to mysql or postgresql.

Environment Variable Default Description
FCREPO_DB_NAME fedora The name of the database
FCREPO_DB_USER fedora The user to connect to the database
FCREPO_DB_PASSWORD password The password of the user used to connect to the database

Additionally the DB_DRIVER variable is derived from the FCREPO_PERSISTENCE_TYPE so users do not need to specify it separately.

Tomcat Settings

Fcrepo is deployed in as a servlet in Tomcat. Please see the documentation in the tomcat image for more information.