-
Notifications
You must be signed in to change notification settings - Fork 286
/
docker-compose-all-mysql.yaml
96 lines (89 loc) · 2.14 KB
/
docker-compose-all-mysql.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
85
86
87
88
89
90
91
92
93
94
95
96
version: "3.5"
services:
modeldb-mysql:
image: mysql
cap_add:
- SYS_NICE
container_name: "modeldb-mysql"
restart: always
command: --default-authentication-plugin=caching_sha2_password
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: modeldb
expose:
- "3306"
ports:
- "3306:3306"
- "33060:33060"
networks:
- modeldb_network
volumes:
- ./data/mysqlData:/var/lib/mysql
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
LIQUIBASE_MIGRATION: true
volumes:
- ./backend/config:/config/
- ./data/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"
DISABLE_LOGS: false
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
networks:
modeldb_network: