Giter Site home page Giter Site logo

fcrepo4-docker's Introduction

Fedora 4 Docker Repo

This is the Git repo of the Docker image for Fedora 4 docker. Please see the Hub page for the full readme on how to use the Docker image and for information regarding contributing and issues.

Requirements

Usage

Run Fedora with a file-based objects database (Default Fcrepo 4.7.5):

# Start server
docker-compose up -d

# Shutdown server
docker-compose down

Run Fedora with a MySQL database:

# Start server
docker-compose -f fcrepo-mysql.yml up -d

# Shutdown server
docker-compose -f fcrepo-mysql.yml down

Run Fedora with a PostgreSQL database:

# Start server
docker-compose -f fcrepo-postgres.yml up -d

# Shutdown server
docker-compose -f fcrepo-postgres.yml down

Fedora Dockerfile

Run Fedora with Solr, Karaf, Fuseki, and Fcrepo-camel-toolbox

  1. docker pull yinlinchen/fcrepo4-docker
  2. docker run -it -p 8080:8080 -d yinlinchen/fcrepo4-docker:4.7.5
  3. Use docker ps to check the "CONTAINER ID" and "STATUS". The container should be ready to use after 5 minutes.

You can shell into the machine with docker exec -i -t "CONTAINER ID" /bin/bash

In this Docker image, see detail in Dockerfile

Fedora Configuration

The default Docker build is Fedora 4 without WebAC and Audit capability.

docker build -t="tag-default" .

To enable Fedora 4 with WebAC enabled.

docker build --build-arg FedoraConfig=webac- --build-arg ModeshapeConfig=servlet-auth -t="tag-webac" .

Three Fedora user accounts are available:

  • user account testuser, with password password1
  • user account adminuser, with password password2
  • admin account fedoraAdmin with the password secret3

To enable Fedora 4 with Audit capability.

docker build --build-arg FedoraConfig=audit- -t="tag-audit" .

To enable Fedora 4 with WebAC and Audit capability.

docker build --build-arg FedoraConfig=webac-audit- --build-arg ModeshapeConfig=servlet-auth -t="tag-webac-audit" .

To build Fedora 4 without Fuseki

docker build --build-arg FusekiConfig=disable -t="nofuseki" .

To build Fedora 4 without Solr

docker build --build-arg SolrConfig=disable -t="nosolr" .

Maintainers

Current maintainers:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.