TRR379 customizations of https://github.com/neurobagel/recipes
  • Shell 88.7%
  • JavaScript 11.3%
Find a file
Michael Hanke 81ba5bc531
Some checks failed
auto release / auto-release (push) Failing after 12s
Pin versions to retain the ability to query for cogatlas terms
2025-02-03 15:39:45 +01:00
.github 🔄 synced local '.github/workflows/' with remote 'template_workflows/project_automation/' (#94) 2024-11-11 13:30:20 -05:00
config/nginx [ENH] Add NGINX timeout config file (#100) 2025-01-09 10:54:07 -05:00
cypress [MNT] Updated compatibility.yaml file and e2e tests (#78) 2024-08-12 12:02:13 -04:00
data update reference example JSONLD with derivatives metadata (#92) 2024-10-31 14:54:57 -04:00
docs [ENH] Add NB_MIN_CELL_SIZE env var & reorder env var table for better flow (#98) 2024-12-16 16:57:33 -05:00
scripts [FIX] Update README links to user guide in docs (#95) 2024-11-20 17:40:41 -05:00
secrets [REF] Create GraphDB password secrets from .txt files instead of env variables (#84) 2024-09-25 11:37:53 -04:00
vocab [FIX] Update nb_vocab.ttl with imaging/phenotypic sessions and pipeline classes (#89) 2024-10-15 12:59:29 -04:00
.autorc 🔄 synced local '.autorc' with remote 'template_configs/.autorc' (#99) 2025-01-06 10:44:20 -05:00
.gitignore [CI] Set up compatibility test workflow (#35) 2024-04-11 15:19:23 -04:00
CHANGELOG.md Update CHANGELOG.md [skip ci] 2025-01-09 15:54:23 +00:00
cypress.config.js [CI] Set up compatibility test workflow (#35) 2024-04-11 15:19:23 -04:00
docker-compose.yml Adjust docker-compose to work with podman and podman-compose 2025-01-23 12:49:47 +01:00
LICENSE 🔄 synced file(s) with neurobagel/workflows (#24) 2024-03-27 23:43:04 -04:00
local_nb_nodes.template.json [REF] Consolidate deployment recipes and refactor template.env (#46) 2024-04-21 22:28:19 -04:00
package-lock.json [CI] Set up compatibility test workflow (#35) 2024-04-11 15:19:23 -04:00
package.json [CI] Set up compatibility test workflow (#35) 2024-04-11 15:19:23 -04:00
README.md [FIX] Update README links to user guide in docs (#95) 2024-11-20 17:40:41 -05:00
template.env [ENH] Add NB_MIN_CELL_SIZE env var & reorder env var table for better flow (#98) 2024-12-16 16:57:33 -05:00
trr379.env Pin versions to retain the ability to query for cogatlas terms 2025-02-03 15:39:45 +01:00

recipes

Configuration files for a Neurobagel deployment.

Tool version compatibility test

How to use

For detailed instructions on deploying Neurobagel for your use case, see the official Neurobagel documentation on setting up a local knowledge graph (node) and configuration options.

Using the full-stack Docker Compose file

  1. Clone the repository

    git clone https://github.com/neurobagel/recipes.git
    
  2. Copy and rename the required template configuration files

    cp template.env .env
    
    # if also setting up local federation
    cp local_nb_nodes.template.json local_nb_nodes.json
    

    Ensure to edit the configuration file(s) according to your deployment. We strongly recommend changing the default passwords for your GraphDB instance, which are set using NB_GRAPH_ADMIN_PASSWORD.txt and NB_GRAPH_PASSWORD.txt in the ./secrets subdirectory by default.

    ⚠️ Note: You must change the value of the NB_API_QUERY_URL variable in the .env file before you can launch any service stack that includes a query tool (i.e., full_stack, local_federation). See comments in the .env file for more information.

  3. In the repository root, start the Docker Compose stack and specify your desired deployment profile

    To set up a local node along with a graphical query tool and optional federation:

    docker compose up -d
    

    or

    docker compose --profile full_stack up -d
    

    To set up only a local node (without a graphical query tool):

    docker compose --profile local_node up -d
    

    To set up federation only:

    You may want to do this if you already have local or remote node(s) set up that you now want to send federated queries to.

    docker compose --profile local_federation up -d
    

A log file DEPLOY.log will be automatically created under scripts/logs/ with a copy of the STDOUT from the automatic deployment process.