LREN-CHUV / docker-cbrain

Docker images for CBrain
GNU General Public License v3.0
0 stars 3 forks source link
data-factory docker-images

Docker instructions

To build the containers

./build.sh

To start a CBRAIN portal

cd Docker
source .env
USERID=`id -u` GROUPID=`id -g` docker-compose up

You can change the ports in .env if you wish.

Be careful to write down the CBRAIN admin password the first time you run docker-compose up.

The CBRAIN portal is then available at http://localhost:3000. It has a data provider, a bourreau, and the Diagnostics tool configured.

Files and directories

Startup process

The following containers are started (see configuration in docker-compose.yml):

  1. MariaDB database
  2. CBRAIN portal
  3. CBRAIN bourreau
  4. CBRAIN data provider

These containers mount volumes that are all located in volumes.

The entry point of the portal and bourreau are the bootstrap scripts ({portal,bourreau,data_provier}_bootstrap.sh). These scripts are run as user root to adjust the owners and permissions of the mounted volumes. They launch {portal,bourreau,data_provider}.sh as user cbrain.

Portal

The first time the portal starts, it:

Every time the portal starts, it:

Bourreau

Every time the bourreau starts, it:

Data provider

Every time the data provider starts, it:

Acknowledgements

This work has been funded in part by the European Union Seventh Framework Program (FP7/2007­2013) under grant agreement no. 604102 (HBP)

This work is part of SP8 of the Human Brain Project (SGA1).