forked from VertaAI/modeldb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-all.yaml
84 lines (79 loc) · 2.29 KB
/
docker-compose-all.yaml
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
79
80
81
82
83
84
version: "3.5"
services:
modeldb-backend:
image: vertaaiofficial/modeldb-backend:2.0.8.1
container_name: "modeldb-backend"
expose:
- "8085"
- "8086"
ports:
- "8085:8085"
- "8086:8086"
networks:
- modeldb_network
environment:
- VERTA_MODELDB_CONFIG:/config/config.yaml
volumes:
- ./backend/config:/config/
- ./artifact-store:/artifact-store/
modeldb-proxy:
image: vertaaiofficial/modeldb-proxy:2.0.8.1
container_name: "modeldb-proxy"
environment:
MDB_ADDRESS: "modeldb-backend:8085"
SERVER_HTTP_PORT: "8080"
expose:
- "8080"
ports:
- "8080:8080"
depends_on:
- modeldb-backend
networks:
- modeldb_network
modeldb-graphql:
image: vertaaiofficial/modeldb-graphql:2.0.8.1
container_name: "modeldb-graphql"
environment:
MDB_ADDRESS: "modeldb-backend:8085"
SERVER_HTTP_PORT: "4000"
QUERY_PATH: "/api/v1/graphql/query"
expose:
- "4000"
ports:
- "4000:4000"
depends_on:
- modeldb-backend
networks:
- modeldb_network
modeldb-frontend:
image: vertaaiofficial/modeldb-frontend:2.0.8.2
container_name: "modeldb-frontend"
expose:
- "3000"
ports:
- "3000:3000"
depends_on:
- modeldb-proxy
- modeldb-graphql
environment:
DEPLOYED: "yes"
BACKEND_API_PROTOCOL: "http"
BACKEND_API_DOMAIN: "modeldb-webapp:3000"
MDB_ADDRESS: http://modeldb-proxy:8080
ARTIFACTORY_ADDRESS: http://modeldb-backend:8086
GQL_ADDRESS: http://modeldb-graphql:4000
networks:
- modeldb_network
modeldb-postgres:
image: postgres
container_name: "modeldb-postgres"
restart: always
environment:
POSTGRES_PASSWORD: root
PGDATA: /var/lib/postgresql/data/pgdata
networks:
- modeldb_network
volumes:
- ./data:/var/lib/postgresql/data/pgdata
networks:
modeldb_network: