-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose-tests.yml
69 lines (67 loc) · 2.06 KB
/
docker-compose-tests.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
version: "3.9"
services:
backend:
image: avatar-backend-v2-debug
container_name: avatar-backend-v2-debug
environment:
- MOCK_BACKEND=False
- AUTH_ENABLED=False
- CORS_ALLOW_ORIGINS=localhost,localhost:80,localhost:8080,localhost:8081,http://localhost,http://localhost:80,http://localhost:8080,http://localhost:8081
restart: "no"
command:
[
"python",
"-m",
"unittest",
"discover",
"--start-directory",
"avatar_backend_api/tests"
]
neural-voice-model:
image: neural-voice-backend-debug
container_name: neural-voice-backend-debug
environment:
- MOCK_BACKEND=False
- AUTH_ENABLED=False
- STATIC_INPUT_FILES=Jennifer_355_9415.mp4,Jennifer_355_9415.wav # Only download the smaller of the two avatars
- FEATURE_FILES=Jennifer_355_9415.tar.gz # Only download the smaller of the two avatars
- CORS_ALLOW_ORIGINS=localhost,localhost:80,localhost:8080,localhost:8081,http://localhost,http://localhost:80,http://localhost:8080,http://localhost:8081
restart: "no"
# Uncomment the following line in order to run the neural-voice-model integration tests instead
command:
[
"conda",
"run",
"--no-capture-output",
"-n",
"base",
"python",
"-m",
"unittest",
"discover",
"--start-directory",
"neural_voice_backend_api/tests"
]
motion-gan-model:
image: motion-gan-backend-debug
container_name: motion-gan-backend-debug
environment:
- MOCK_BACKEND=False
- AUTH_ENABLED=False
- CORS_ALLOW_ORIGINS=localhost,localhost:80,localhost:8080,localhost:8081,http://localhost,http://localhost:80,http://localhost:8080,http://localhost:8081
restart: "no"
command:
[
"conda",
"run",
"--no-capture-output",
"-n",
"base",
"python",
"-m",
"unittest",
"discover",
"--start-directory",
"motion_gan_backend_api/tests"
]
# command: tail -f /dev/null