Sign inSign up

constellab/lab-manager

By constellab

•Updated 6 days ago

Container to manage data lab of Constellab application

Image
Data science
1

4.3K

constellab/lab-manager repository overview

Constellab Logo


ā šŸ‘‹ Welcome to Lab manager

lab-manager is a Constellab⁠ container developped by Gencovery⁠. It configures and manages the containers running inside the data lab.

ā šŸš€ What is Constellab?

✨ Gencovery⁠ is a software company that offers Constellab⁠., the leading open and secure digital infrastructure designed to consolidate data and unlock its full potential in the life sciences industry. Gencovery's mission is to provide universal access to data to enhance people's health and well-being.

šŸŒ With our Fair Open Access offer, you can use Constellab for free. Sign up here⁠. Find more information about the Open Access offer here (link to be defined).

ā āœ… Features

This container is one of the first container to be started on the lab. Its role is to configure the lab and to start the others container.

šŸ“‹ Here is the list of the main features:

  • manage the containers
    • glab : this is the main app, this run all the python code, the lab and the experiments.
    • codelab : this is the dev environment that include the online VsCode
    • front : this is the web interface of the lab
    • gws_core_prod_db : database for the prod environment
    • gws_core_dev_deb : database for the dev envirnonment
    • test_gws_dev_db : database that is used when we run tests
  • configure the bricks of the lab
  • manage the backup of the lab data

To view more information about the lab architecture here⁠

ā šŸ’» Desktop

šŸš€ To run a data lab locally you can use the desktop version. The lab manager can be installed to configure and starts the desktop data lab.

Run the following command to start the lab manager for the desktop version: volumes: # map the named volume to the same path as prod environment - lab-manager-config:/app/conf - lab-manager-prod-db:/app/gws_db/gws_core/prod/mariadb - lab-manager-dev-db:/app/gws_db/gws_core/dev/mariadb - lab-manager-prod-lab:/app/prod/lab - lab-manager-prod-data:/app/prod/data - lab-manager-dev-lab:/app/dev/lab # share docker socket - /var/run/docker.sock:/var/run/docker.sock

docker run -d --name lab-manager -e VIRTUAL_HOST=lab-manager.local -e ENVIRONMENT_PROFILE=desktop -e LAB_MANAGER_API_KEY=[SPACE_API_KEY] -e LAB_NAME=[LAB_NAME] -e LAB_ID=[LAB_ID] -v lab-manager-config:/app/conf -v lab-manager-prod-db:/app/gws_db/gws_core/prod/mariadb -v lab-manager-dev-db:/app/gws_db/gws_core/dev/mariadb -v lab-manager-prod-lab:/app/prod/lab -v lab-manager-prod-data:/app/prod/data -v lab-manager-dev-lab:/app/dev/lab -v lab-manager-dev-data:/app/dev/data -v lab-manager-dev-codelab-home:/home/labuser -v /var/run/docker.sock:/var/run/docker.sock -p 3080:3080 constellab/lab-manager:latest

ā šŸ“„ Documentation

šŸ“„ For gws_core brick documentation, click here⁠

šŸ’« For Constellab application documentation, click here⁠

ā šŸ› ļø Installation

Run the container with the following env variables :

  • VIRTUAL_HOST : virtual host defined frmo the space
  • LAB_MANAGER_API_KEY : api generate generate from the space
  • ENVIRONMENT_PROFILE : prod

ā šŸ¤— Community

šŸŒ Join the Constellab community here⁠ to share and explore stories, code snippets and bricks with other users.

🚩 Feel free to open an issue if you have any question or suggestion.

ā˜Žļø If you have any questions or suggestions, please feel free to contact us through our website: Constellab⁠.

ā šŸŒŽ License

lab-manager is completely free and open-source and licensed under the GNU Affero General Public License v3.0⁠.


This brick is maintained with ā¤ļø by Gencovery⁠.

Gencovery Logo

Tag summary

Content type

Image

Digest

sha256:915aa2d92…

Size

302.6 MB

Last updated

6 days ago

docker pull constellab/lab-manager