-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
56 lines (52 loc) · 1.4 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
56
version: '3'
services:
realtimefmri:
build:
context: .
dockerfile: Dockerfile
command: web_interface
depends_on:
- redis
- samba
devices:
- "${EVENT_DEVICE}:/dev/input/event3"
environment:
- REALTIMEFMRI_LOG_LEVEL=${LOG_LEVEL}
ports:
- "127.0.0.1:8050:8050"
- "127.0.0.1:8051:8051"
restart: always
volumes:
- "${PYCORTEX_STORE}:/usr/local/share/pycortex/db"
- "${PIPELINE_DIR}:/usr/local/share/realtimefmri/pipelines"
- "${EXPERIMENT_DIR}:/usr/local/share/realtimefmri/experiments"
- "${DATASTORE_DIR}:/usr/local/share/realtimefmri/datastore"
- "${TEST_DATASET_DIR}:/usr/local/share/realtimefmri/datasets"
- "${LOG_DIR}:/usr/local/share/realtimefmri/logs"
- "${STATIC_PATH}:/public/static"
- /etc/timezone:/etc/timezone
- /etc/localtime:/etc/localtime
- scanner:/usr/local/share/realtimefmri/scanner
- .:/app/realtimefmri
redis:
image: redis
restart: always
volumes:
- /etc/timezone:/etc/timezone
ports:
- "127.0.0.1:6379:6379"
samba:
build:
context: "./samba"
dockerfile: Dockerfile
ports:
- "0.0.0.0:139:139"
- "0.0.0.0:445:445"
restart: always
volumes:
- scanner:/mnt/scanner
- /etc/timezone:/etc/timezone
- /etc/localtime:/etc/localtime
- "${LOG_DIR}:/logs"
volumes:
scanner: