-
Notifications
You must be signed in to change notification settings - Fork 63
/
docker-compose.yml
54 lines (51 loc) · 1.01 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
version: '3'
services:
lab:
build:
context: .
dockerfile: docker/lab/Dockerfile
target: dev
args:
- USE_WHEELS=${USE_WHEELS}
tty: true
stdin_open: true
volumes:
- "./:/appsrc"
- "/appsrc/lab/webapp/node_modules"
- "/appsrc/lab/node_modules"
ports:
- "5080:5080"
env_file:
- ./config/common.env
- ./config/ai.env
depends_on:
- dbmongo
machine:
build:
context: .
dockerfile: docker/machine/Dockerfile
target: dev
args:
- USE_WHEELS=${USE_WHEELS}
tty: true
stdin_open: true
volumes:
- "./:/appsrc"
- "/appsrc/machine/node_modules"
ports:
- "5081:5081"
env_file: ./config/common.env
environment:
- MACHINE_PORT=5081
depends_on:
- lab
- dbmongo
dbmongo:
build:
context: .
dockerfile: docker/dbmongo/Dockerfile
tty: true
stdin_open: true
ports:
- "27017:27017"
env_file: ./config/common.env