-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yml
52 lines (47 loc) · 1.3 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
version: '3.7'
volumes:
explainer_logs:
name: explainer_logs
external: false
services:
explainer_tensorboard:
container_name: explainer_tensorboard
image: explainer_tensorboard:latest
build:
context: ./tensorboard/
dockerfile: ./Dockerfile
ports:
- 6006:6006
volumes:
- explainer_logs:/tmp/explainer_logs
command: ["run", "//explainer_tensorboard", "--", "--logdir=/tmp/explainer_logs"]
depends_on:
- explainer_model-backend
- explainer_assets-server
explainer_model-backend:
container_name: explainer_model-backend
image: explainer_model-backend:latest
build:
context: ./model-backend/
dockerfile: ./Dockerfile
ports:
- 5000:5000
command: ["python", "run.py"]
explainer_assets-server:
container_name: explainer_assets-server
image: explainer_assets-server:latest
build:
context: ./assets-server/
dockerfile: ./Dockerfile
ports:
- 8000:8000
command: ["python", "-u", "app.py", "/serve"]
explainer_summary:
container_name: explainer_summary
image: explainer_summary:latest
build:
context: ./tensorboard/
dockerfile: ./Dockerfile
volumes:
- explainer_logs:/tmp/explainer_logs
command: ["run", "//explainer_plugin:explainer_demo"]