Giter Club home page Giter Club logo

vivo-docker2's Introduction

Dockerized VIVO

This project creates three dockerized containers,

  • vivo The vivo instance
  • solr A standalone solr instance, based on a solr docker image
  • mariadb A standalone mariadb instance.

These images can be used together, or independently to setup some development or working VIVO docker instances.

Usage

Example Docker Installation

Regardless of the usage, you will need to build the images, which require the following steps:

  1. Install Docker
  2. Install Docker Compose
  3. Clone this project
  4. Start the containers:
   docker-compose up -d

VIVO Runtime Example

The example docker-compose.yml is a typical installation for trying out a simple VIVO installation in docker. This file starts three containers and uses the standard SDB system with the mariadb backend. This example also shows how a local directory example-config is used to overwrite the default runtime.properties as installed by the Dockerfile. Here the root password, and the domain are modified.

docker-compose up -d

Will start this project. Navigating to http://localhost:8080/vivo will then start this simple instance.

If you get an error indicating that the database was not found, this could be due to a bug where the vivo instance is not waiting on the mariadb instance to initialize. IF you have this error, try docker-compose down; docker-compose up -d.

VIVO Development

You can use these same containers to develop a local VIVO installation. In this case, your docker-compose.yml file would only contain the solr and the mariadb images. You can then connect to these images with your local setup.

  1. Install VIVO as usual, with the following changes to runtime.properties:
    vitro.local.solr.url = http://localhost:8983/solr/vivocore
    
  2. Open a browser to: http://localhost:8080/vivo

Notes

MariaDB ACL

Currently, the Mariadb Dockerfile includes SQL, that initializes a username:password for VIVO to communicate with mariadb. If you'd like to change this, you'll need to perform some additional sql grant commands to alter this.

For earlier Dockerized VIVO releases, see vivo-docker

vivo-docker2's People

Contributors

edemerzel avatar garrettarm avatar qjhart avatar roflinn avatar

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.