-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yaml
53 lines (48 loc) · 1.15 KB
/
docker-compose.yaml
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
services:
mongodb:
image: 'mongo'
ports:
- '27017:27017'
volumes:
- mongo-data:/data/db
backend:
build: ./nomad-rest-api
env_file:
- ./envs/dev/backend.env
ports:
- '8080:8080'
volumes:
- ./nomad-rest-api:/app
- ./datastore:/app/datastore
- ./downloads:/app/downloads
- /app/node_modules
depends_on:
- mongodb
frontend:
build: ./nomad-front-end
env_file:
- ./envs/dev/frontend.env
ports:
- '3003:3003'
volumes:
- ./nomad-front-end/src:/app/src
- /app/node_modules
- ./downloads:/app/downloads
depends_on:
- backend
client:
profiles:
- client
build: ../nomad-spect-client
volumes:
- ../nomad-spect-client/src:/app/src
- ../nomad-spect-client/status_files:/app/status_files
- ../nomad-spect-client/submit_files:/app/submit_files
- /mnt/c/Users/tl12/nomad-data-test/clientData/auto:/app/nmr-data/auto
- /mnt/c/Users/tl12/nomad-data-test/clientData/manual:/app/nmr-data/manual
env_file:
- ./envs/dev/client.env
depends_on:
- backend
volumes:
mongo-data: