Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.66 KB

OVERVIEW.md

File metadata and controls

43 lines (30 loc) · 1.66 KB

Fedora Repository

Docker Pulls

This Docker repository contains tagged images for all Fedora releases version 4 and up.

Usage

To run a generic Fedora server with an ephemeral datastore and the same default, unsecured configuration as the “one-click” test configuration:

docker run -ti -p 8080:8080 samvera/fcrepo4:VERSION

e.g.:

docker run -ti -p 8080:8080 samvera/fcrepo4:5.1.0

Overriding Default Configuration

The container's startup script will recursively copy anything in /jetty-overrides to /var/lib/jetty, providing access to Jetty's full range of configuration options without rebuilding the container. Simply mount the new configuration like so:

docker run -ti -p 8080:8080 \
  -v /path/to/my/configs:/jetty-overrides \
  samvera/fcrepo4:5.1.0

For more information regarding Jetty configuration, see the Jetty Start Configuration Files section of the main Jetty documentation.

For an example configuration that adds basic authentication to Fedora's REST endpoints (using the customary fedoraAdmin:fedoraAdmin user), see the example in this project's github repo.

For more information on using Docker images and containers, see the Docker CLI documentation.