-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
60 lines (55 loc) · 1.21 KB
/
docker-compose.yml
File metadata and controls
60 lines (55 loc) · 1.21 KB
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
services:
tfserving_sql:
image: bitnami/tensorflow-serving
ports:
- "8500:8500"
- "8501:8501"
volumes:
- ./model-data/sql/1:/bitnami/model-data/1
environment:
- TENSORFLOW_SERVING_MODEL_NAME=sql
tfserving_xss:
image: bitnami/tensorflow-serving
ports:
- "8600:8500"
- "8601:8501"
volumes:
- ./model-data/xss/1:/bitnami/model-data/1
environment:
- TENSORFLOW_SERVING_MODEL_NAME=xss
sqli-service:
build:
context: .
dockerfile: sqli-service/Dockerfile
depends_on:
- tfserving_sql
ports:
- "8001:8001"
xss-service:
build:
context: .
dockerfile: xss-service/Dockerfile
depends_on:
- tfserving_xss
ports:
- "8002:8002"
orchestrator:
build:
context: .
dockerfile: orchestrator/Dockerfile
depends_on:
- sqli-service
- xss-service
ports:
- "8000:8000"
demo-frontend:
build:
context: .
dockerfile: demo-frontend/Dockerfile
depends_on:
- orchestrator
ports:
- "8003:8003"
environment:
# inside this container, 'orchestrator' is the service hostname
- WAF_BASE=http://orchestrator:8000