-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
61 lines (55 loc) · 1.29 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
57
58
59
60
61
version: '2'
services:
nginx:
build: ./nginx
depends_on:
- web
volumes:
- "./nginx/sites-enabled:/etc/nginx/sites-enabled"
- "./scn_js:/scn/scn_js"
- "$TMP_PATH:/var/tmp"
ports:
- "31:80"
genequery:
container_name: gq
depends_on:
- fs
restart: always
build: ./genequery
expose:
- 8423
ports:
- "8423:8423"
volumes:
- "$GMT_PATH:/genequery/data-files"
mongo:
image: mongo:latest
restart: always
# ports:
# - "27017:27017"
volumes:
- "./mongo/init-mongo.js:/docker-entrypoint-initdb.d/init-mongo.js:ro"
- "$DATASET_PATH:/var/datasets"
fs:
restart: always
depends_on:
- mongo
build: ./scn_h5_converter
volumes:
- "$DATASET_PATH:/var/datasets"
- "$TMP_PATH:/var/tmp"
- "$GMT_PATH:/vat/gmt"
command: [ "python", "./watcher/Watcher.py", "/var/datasets", "/var/tmp", "/vat/gmt",
$MONGODB_HOST, $MONGODB_DATABASE, $MONGODB_COLLECTION]
web:
env_file:
- .env
restart: always
depends_on:
- fs
build: ./scn_server
volumes:
- "$DATASET_PATH:/var/datasets"
- "./scn_js:/scn/scn_js"
- "$TMP_PATH:/var/tmp"
command: ["java", "-Djava.library.path=./", "-jar", "server.jar"]