-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
49 lines (43 loc) · 1001 Bytes
/
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
version: '3.8'
services:
gi-db:
image: mongo:5.0.5-focal
restart: unless-stopped
ports:
- "27017:27017"
volumes:
- gi-db-volume:/data/db
gi-board:
image: tensorflow/tensorflow:2.7.0
restart: unless-stopped
ports:
- "6006:6006"
volumes:
- gi-data-volume:/deploy/data
command: tensorboard --logdir /deploy/data/logs --port 6006 --host 0.0.0.0
gi-api:
image: johnjam/gi-api:0.3.0
restart: unless-stopped
depends_on:
- gi-db
ports:
- "8000:8000"
volumes:
- gi-data-volume:/deploy/data
environment:
GI_MONGO_URI: mongodb://gi-db:27017
gi-webapp:
image: johnjam/gi-webapp:0.3.0
restart: unless-stopped
depends_on:
- gi-api
ports:
- "8501:8501"
volumes:
- gi-data-volume:/deploy/data
environment:
GI_API_URL: http://gi-api:8000
GI_DASHBOARD_URL: ${GI_DASHBOARD_URL:-http://127.0.0.1:6006}
volumes:
gi-data-volume:
gi-db-volume: