Sign inSign up

islandora/fcrepo

Sponsored OSS

By islandora

•Updated 1 day ago

Version 7+ of Fedora

Image
API management
Content management system
Databases & storage
0

10K+

islandora/fcrepo repository overview

⁠Fcrepo

Docker image for fcrepo⁠ version 7.0.0.

Built from Islandora-DevOps/isle-buildkit fcrepo⁠

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_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_*
⁠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.

⁠JWT Settings

fcrepo⁠ makes use of JWT for authentication. Please see the documentation in the base image⁠ for more information about the default JWT configuration.

Environment VariableDefaultDescription
FCREPO_DISABLE_SYNfalseEnable or disable authentication via Syn⁠
⁠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 fcrepo/Dockerfile | grep -o 'FCREPO_VERSION=.*' | cut -f2 -d=)
FCREPO_FILE=$(cat fcrepo/Dockerfile | grep -o 'FCREPO_FILE=.*' | cut -f2 -d=)
FCREPO_URL=$(cat fcrepo/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 arguments SYN_VERSION and SYN_REF in the Dockerfile.

By default, the image fetches refs/heads/${SYN_VERSION} from the Syn repository and builds it with ./gradlew. To build a tagged Syn release artifact instead, set SYN_VERSION, SYN_REF=refs/tags/v${SYN_VERSION}, and SYN_SHA256 for that tag's release artifact.

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 fcrepo/Dockerfile | grep -o 'IMPORT_EXPORT_VERSION=.*' | cut -f2 -d=)
IMPORT_EXPORT_FILE=$(cat fcrepo/Dockerfile | grep -o 'IMPORT_EXPORT_FILE=.*' | cut -f2 -d=)
IMPORT_EXPORT_URL=$(cat fcrepo/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 fcrepo/Dockerfile | grep -o 'UPGRADE_UTILS_VERSION=.*' | cut -f2 -d=)
UPGRADE_UTILS_FILE=$(cat fcrepo/Dockerfile | grep -o 'UPGRADE_UTILS_FILE=.*' | cut -f2 -d=)
UPGRADE_UTILS_URL=$(cat fcrepo/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:c9b48240c…

Size

507.7 MB

Last updated

1 day ago

docker pull islandora/fcrepo:renovate.all-non-major-dependencies

This week's pulls

Pulls:

661

Last week