-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
51 lines (47 loc) · 1.2 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
services:
api:
extends:
file: recipes/docker-compose.yml
service: api
profiles:
- 'test'
environment:
NB_GRAPH_USERNAME: 'DBUSER'
NB_RETURN_AGG: false
volumes:
- './recipes/scripts/api_entrypoint.sh:/usr/src/api_entrypoint.sh'
entrypoint:
- '/usr/src/api_entrypoint.sh'
secrets:
- db_user_password
graph:
extends:
file: recipes/docker-compose.yml
service: graph
profiles:
- 'test'
volumes:
- 'graphdb_home:/opt/graphdb/home'
- './recipes/scripts:/usr/src/neurobagel/scripts'
- './recipes/vocab:/usr/src/neurobagel/vocab'
- './neurobagel_examples/data-upload/pheno-bids-derivatives-output:/data'
environment:
NB_GRAPH_USERNAME: 'DBUSER'
secrets:
- db_admin_password
- db_user_password
federation:
extends:
file: recipes/docker-compose.yml
service: federation
profiles:
- 'test'
volumes:
- './recipes/local_nb_nodes.json:/usr/src/local_nb_nodes.json:ro'
secrets:
db_admin_password:
file: ./recipes/secrets/NB_GRAPH_ADMIN_PASSWORD.txt
db_user_password:
file: ./recipes/secrets/NB_GRAPH_PASSWORD.txt
volumes:
graphdb_home: