forked from ln2t/cvrmap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (41 loc) · 1.26 KB
/
docker-compose.yml
File metadata and controls
42 lines (41 loc) · 1.26 KB
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
services:
cvrmap:
build:
context: .
dockerfile: Dockerfile
image: arovai/cvrmap:0.1.0
container_name: cvrmap
volumes:
# Mount your BIDS dataset and derivatives
- ${DATA_DIR:-./data/input}:/data/input:ro
- ${OUTPUT_DIR:-./data/output}:/data/output
- ${WORK_DIR:-./data/work}:/data/work
environment:
- INPUT_DIR=/data/input
- OUTPUT_DIR=/data/output
- WORK_DIR=/data/work
# Override the command to run specific analysis
# Example: docker-compose run cvrmap /data/input /data/output participant --task gas --derivatives fmriprep=/data/input/derivatives/fmriprep
command: ["--help"]
# Development service with source code mounted
cvrmap-dev:
build:
context: .
dockerfile: Dockerfile
target: builder
image: arovai/cvrmap:0.1.0-dev
container_name: cvrmap-dev
volumes:
- .:/opt/cvrmap/src
- ${DATA_DIR:-./data/input}:/data/input:ro
- ${OUTPUT_DIR:-./data/output}:/data/output
- ${WORK_DIR:-./data/work}:/data/work
environment:
- INPUT_DIR=/data/input
- OUTPUT_DIR=/data/output
- WORK_DIR=/data/work
- PYTHONPATH=/opt/cvrmap/src
working_dir: /opt/cvrmap/src
command: ["bash"]
stdin_open: true
tty: true