This Docker repository contains tagged images for all Fedora releases version 4 and up.
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 ghcr.io/samvera/fcrepo4:VERSION
e.g.:
docker run -ti -p 8080:8080 ghcr.io/samvera/fcrepo4:4.7.5
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 \
ghcr.io/samvera/fcrepo4:4.7.5
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.