Skip to content

childmindresearch/loris-docker

Repository files navigation

Loris Docker

Docker build for Loris

Containers

Loris-Base

Image with Loris dependencies installed.

Loris-MRI-Base

Image with Loris and Loris-MRI dependencies installed.

Loris

Image with Loris installed, does not include Loris-MRI, but can be built with Loris and Loris-MRI dependencies installed.

To build with only Loris dependencies, use environment variable LORIS_BASE=loris-base. To build with Loris and Loris-MRI dependencies, use LORIS_BASE=loris-mri-base.

Switching using this env var reduces code duplication, while allowing for faster builds because loris-mri dependencies don't need to be reinstalled when changes are made to loris.

Loris-MRI

Image with Loris and Loris-MRI installed.

MINC-toolkit (Not Functional)

Image to build MINC Toolkit. Not used currently, but available for MINC repository downtime.

Building

Repository uses Task to build the images.

After installing Task, run task <image_name> to build.

To tag the loris-mri image with an AWS ECR repository to enable pushing the image, set the following variables in secrets/aws-ecr.env

  • AWS_ECR_TAG=true
  • AWS_ECR_REGION
  • AWS_ACCOUNT_ID
  • AWS_ECR_REPO_NAME
  • AWS_ECR_IMAGE_TAG

Using CouchDB and old DQT

To configure loris-docker with a CouchDB backend, use the following environment variables. These will be substituted into the config.xml.

  • COUCH_DATABASE
  • COUCH_HOSTNAME
  • COUCH_PORT
  • COUCH_USERNAME
  • COUCH_PASSWORD

The file docker-compose.couch.yml shows how the CouchDB image can be integrated into a docker compose set-up. It can be used directly using docker compose yaml merging functionality, e.g.

docker compose -f docker-compose.yml -f docker-compose.couch.yml up -d

About

Docker build for Loris

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors