No description
  • Shell 66.9%
  • JavaScript 33.1%
Find a file
2025-04-04 05:52:44 +02:00
.github [FIX] Fix issues with e2e test (#126) 2025-04-01 21:36:11 -04:00
config/nginx [ENH] Add NGINX timeout config file (#100) 2025-01-09 10:54:07 -05:00
cypress [FIX] Fix issues with e2e test (#126) 2025-04-01 21:36:11 -04:00
data update data to latest file including SNOMED assessment terms (#107) 2025-02-01 17:08:16 -05:00
docs [ENH] Add environment variables for API root paths and query site header script (#106) 2025-02-14 12:04:06 -05:00
scripts [ENH] Introduce new NB_GRAPH_MEMORY variable (#125) 2025-04-01 22:24:35 -04: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 Draft of an configuration for the INM7 setup 2025-04-04 05:52:44 +02:00
CHANGELOG.md Update CHANGELOG.md [skip ci] 2025-02-14 17:04:26 +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-04-04 05:28:07 +02:00
inm7.env Draft of an configuration for the INM7 setup 2025-04-04 05:52:44 +02:00
LICENSE 🔄 synced file(s) with neurobagel/workflows (#24) 2024-03-27 23:43:04 -04:00
local_nb_nodes.json Draft of an configuration for the INM7 setup 2025-04-04 05:52:44 +02: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 Bump cypress from 14.1.0 to 14.2.0 in the development-dependencies group (#123) 2025-04-01 22:30:09 -04:00
package.json Bump cypress from 14.1.0 to 14.2.0 in the development-dependencies group (#123) 2025-04-01 22:30:09 -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] Introduce new NB_GRAPH_MEMORY variable (#125) 2025-04-01 22:24:35 -04: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.