-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
56 lines (51 loc) · 1.32 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
52
53
54
55
services:
fsl:
image: idossha/ti-csc_fsl:v1.3.0
container_name: fsl_container
volumes:
- fsl_volume:/usr/local/fsl/
networks:
- ti_network
freesurfer:
image: idossha/ti-csc_freesurfer:v1.3.0
container_name: freesurfer_container
volumes:
- freesurfer_volume:/usr/local/freesurfer/
networks:
- ti_network
simnibs:
image: idossha/ti-csc_simnibs:v1.3.1
container_name: simnibs_container
environment:
- USER=root
- DISPLAY
- LIBGL_ALWAYS_SOFTWARE=1
- FSLDIR=/usr/local/fsl
- FSLOUTPUTTYPE=NIFTI_GZ
- FSLMULTIFILEQUIT=TRUE
- POSSUMDIR=/usr/local/fsl
- FREESURFER_HOME=/usr/local/freesurfer
- SUBJECTS_DIR=/usr/local/freesurfer/subjects
- FS_LICENSE=/usr/local/freesurfer/license.txt
- LOCAL_PROJECT_DIR=${LOCAL_PROJECT_DIR}
- PROJECT_DIR_NAME=${PROJECT_DIR_NAME}
volumes:
- fsl_volume:/usr/local/fsl/
- freesurfer_volume:/usr/local/freesurfer/
- /tmp/.X11-unix:/tmp/.X11-unix
- ${LOCAL_PROJECT_DIR}:/mnt/${PROJECT_DIR_NAME}
networks:
- ti_network
depends_on:
- fsl
- freesurfer
tty: true
stdin_open: true
working_dir: /ti-csc
command: ["/bin/bash"]
networks:
ti_network:
driver: bridge
volumes:
fsl_volume:
freesurfer_volume: