islandora/fcrepo6

Sponsored OSS

By islandora

Updated 21 days ago

Fedora is a system for the management and dissemination of digital content.

Image
Security
Content management system
Databases & storage
0

100K+

islandora/fcrepo6 repository overview

Fcrepo

Docker image for fcrepo version 6.5.1.

Built from Islandora-DevOps/isle-buildkit fcrepo6

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

PathDescription
/dataOCFL 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 VariableDefaultDescription
FCREPO_ACTIVEMQ_BROKERtcp://activemq:61616The location of the ActiveMQ Broker in which to publish JMS messages to
FCREPO_ACTIVEMQ_QUEUEfedoraThe ActiveMQ Queue in which to publish JMS messages
FCREPO_ACTIVEMQ_QUEUE_ENABLEfalseIf true publish JMS messages on the queue FCREPO_ACTIVEMQ_QUEUE
FCREPO_ACTIVEMQ_TOPICfedoraThe ActiveMQ Topic in which to publish JMS messages
FCREPO_ACTIVEMQ_TOPIC_ENABLEtrueIf true publish JMS messages on the topic FCREPO_ACTIVEMQ_TOPIC
FCREPO_BINARYSTORAGE_TYPEfileThe binary storage type. Only file and s3 are supported at this time
FCREPO_AWS_REGIONus-east-1AWS Region for S3 Bucket
FCREPO_S3_BUCKETBucket to use for S3 Storage
FCREPO_S3_USERAWS User for S3 Storage
FCREPO_S3_PASSWORDAWS Secret Token for S3 Storage
FCREPO_S3_PREFIXAWS Prefix for S3 Storage
FCREPO_PERSISTENCE_TYPEfileThe object store type. Only file, mysql, postgresql are supported at this time
FCREPO_DISABLE_SYNfalseEnable or disable authentication via Syn
FCREPO_SESSION_TIMEOUT180000This sets the duration (in milliseconds) for which a transaction will stay active before auto-rolling back

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 VariableDefaultDescription
FCREPO_DB_NAMEfedoraThe name of the database
FCREPO_DB_USERfedoraThe user to connect to the database
FCREPO_DB_PASSWORDpasswordThe 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.

Updating

You can change the version used for fcrepo by modifying the build argument FCREPO_VERSION and FCREPO_SHA256 in the Dockerfile.

Change FCREPO_VERSION and then generate the FCREPO_SHA256 with the following commands:

FCREPO_VERSION=$(cat fcrepo6/Dockerfile | grep -o 'FCREPO_VERSION=.*' | cut -f2 -d=)
FCREPO_FILE=$(cat fcrepo6/Dockerfile | grep -o 'FCREPO_FILE=.*' | cut -f2 -d=)
FCREPO_URL=$(cat fcrepo6/Dockerfile | grep -o 'FCREPO_URL=.*' | cut -f2 -d=)
FCREPO_FILE=$(eval "echo $FCREPO_FILE")
FCREPO_URL=$(eval "echo $FCREPO_URL")
wget --quiet "${FCREPO_URL}"
shasum -a 256 "${FCREPO_FILE}" | cut -f1 -d' '
rm "${FCREPO_FILE}"

You can change the version used for syn by modifying the build argument SYN_VERSION and SYN_SHA256 in the Dockerfile.

Change SYN_VERSION and then generate the SYN_SHA256 with the following commands:

SYN_VERSION=$(cat fcrepo6/Dockerfile | grep -o 'SYN_VERSION=.*' | cut -f2 -d=)
SYN_FILE=$(cat fcrepo6/Dockerfile | grep -o 'SYN_FILE=.*' | cut -f2 -d=)
SYN_URL=$(cat fcrepo6/Dockerfile | grep -o 'SYN_URL=.*' | cut -f2 -d=)
SYN_FILE=$(eval "echo $SYN_FILE")
SYN_URL=$(eval "echo $SYN_URL")
wget --quiet "${SYN_URL}"
shasum -a 256 "${SYN_FILE}" | cut -f1 -d' '
rm "${SYN_FILE}"

You can change the version used for fcrepo-import-export by modifying the build argument IMPORT_EXPORT_VERSION and IMPORT_EXPORT_SHA256 in the Dockerfile.

Change IMPORT_EXPORT_VERSION and then generate the IMPORT_EXPORT_SHA256 with the following commands:

IMPORT_EXPORT_VERSION=$(cat fcrepo6/Dockerfile | grep -o 'IMPORT_EXPORT_VERSION=.*' | cut -f2 -d=)
IMPORT_EXPORT_FILE=$(cat fcrepo6/Dockerfile | grep -o 'IMPORT_EXPORT_FILE=.*' | cut -f2 -d=)
IMPORT_EXPORT_URL=$(cat fcrepo6/Dockerfile | grep -o 'IMPORT_EXPORT_URL=.*' | cut -f2 -d=)
IMPORT_EXPORT_FILE=$(eval "echo $IMPORT_EXPORT_FILE")
IMPORT_EXPORT_URL=$(eval "echo $IMPORT_EXPORT_URL")
wget --quiet "${IMPORT_EXPORT_URL}"
shasum -a 256 "${IMPORT_EXPORT_FILE}" | cut -f1 -d' '
rm "${IMPORT_EXPORT_FILE}"

You can change the version used for fcrepo-upgrade-utils by modifying the build argument UPGRADE_UTILS_VERSION and UPGRADE_UTILS_SHA256 in the Dockerfile.

Change UPGRADE_UTILS_VERSION and then generate the UPGRADE_UTILS_SHA256 with the following commands:

UPGRADE_UTILS_VERSION=$(cat fcrepo6/Dockerfile | grep -o 'UPGRADE_UTILS_VERSION=.*' | cut -f2 -d=)
UPGRADE_UTILS_FILE=$(cat fcrepo6/Dockerfile | grep -o 'UPGRADE_UTILS_FILE=.*' | cut -f2 -d=)
UPGRADE_UTILS_URL=$(cat fcrepo6/Dockerfile | grep -o 'UPGRADE_UTILS_URL=.*' | cut -f2 -d=)
UPGRADE_UTILS_FILE=$(eval "echo $UPGRADE_UTILS_FILE")
UPGRADE_UTILS_URL=$(eval "echo $UPGRADE_UTILS_URL")
wget --quiet "${UPGRADE_UTILS_URL}"
shasum -a 256 "${UPGRADE_UTILS_FILE}" | cut -f1 -d' '
rm "${UPGRADE_UTILS_FILE}"

Tag summary

Content type

Image

Digest

sha256:a35e6af62

Size

474 MB

Last updated

21 days ago

docker pull islandora/fcrepo6:houdini-vips

This week's pulls

Pulls:

567

Last week