-
Notifications
You must be signed in to change notification settings - Fork 63
/
docker-compose-int-test.yml
78 lines (73 loc) · 1.77 KB
/
docker-compose-int-test.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
version: '3'
services:
tester:
build: ./tests/integration
depends_on:
- lab
- machine
- dbmongo
tty: true
stdin_open: true
command: bash -c "sh /root/wait_pennai.sh && sh /root/int_test_runner.sh"
volumes:
- "./tests/integration/jest:/src/jest"
- "./data/datasets/test/integration:/appsrc/data/datasets/test/integration"
- "./target:/target"
- "./ai/__pycache__:/appsrc/ai/__pycache__"
- "./ai/metalearning/__pycache__:/appsrc/ai/metalearning/__pycache__"
lab:
build:
context: .
dockerfile: docker/lab/Dockerfile
target: dev
args:
# - USE_WHEELS=${USE_WHEELS}
- USE_WHEELS=0
tty: true
stdin_open: true
volumes:
- "./:/appsrc"
- "/appsrc/lab/webapp/node_modules"
- "/appsrc/lab/node_modules"
ports:
#- "443:443"
- "5080:5080"
environment:
- AI_RECOMMENDER=random
- AI_NUMRECOMMEND=1
- AI_AUTOSTART=1
- STARTUP_DATASET_PATH=/appsrc/data/datasets/test/test_mixed
env_file: ./config/common.env
depends_on:
- dbmongo
machine:
build:
context: .
dockerfile: docker/machine/Dockerfile
target: dev
args:
# - USE_WHEELS=${USE_WHEELS}
- USE_WHEELS=0
tty: true
stdin_open: true
volumes:
- "./:/appsrc"
- "/appsrc/machine/node_modules"
ports:
- "5081:5081"
environment:
- STARTUP_DATASET_PATH=/appsrc/data/datasets/test/test_mixed
- MACHINE_PORT=5081
env_file: ./config/common.env
depends_on:
- lab
- dbmongo
dbmongo:
build:
context: .
dockerfile: docker/dbmongo/Dockerfile
tty: true
stdin_open: true
ports:
- "27017:27017"
env_file: ./config/common.env