forked from mlflow/mlflow
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
71 lines (65 loc) · 1.82 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
version: "3"
services:
postgres:
image: postgres
restart: always
environment:
POSTGRES_DB: mlflowdb
POSTGRES_USER: mlflowuser
POSTGRES_PASSWORD: mlflowpassword
mlflow-postgres:
depends_on:
- postgres
build:
context: .
volumes:
- .:/tmp/mlflow
environment:
MLFLOW_TRACKING_URI: postgresql://mlflowuser:mlflowpassword@postgres:5432/mlflowdb
command: python run_checks.py --schema-output schemas/postgres.sql
mysql:
image: mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: root-password
MYSQL_DATABASE: mlflowdb
MYSQL_USER: mlflowuser
MYSQL_PASSWORD: mlflowpassword
command: mysqld --default-authentication-plugin=mysql_native_password
mlflow-mysql:
depends_on:
- mysql
build:
context: .
volumes:
- .:/tmp/mlflow
environment:
MLFLOW_TRACKING_URI: mysql://mlflowuser:mlflowpassword@mysql:3306/mlflowdb
command: python run_checks.py --schema-output schemas/mysql.sql
mssql:
image: mcr.microsoft.com/mssql/server
restart: always
environment:
ACCEPT_EULA: Y
SA_PASSWORD: "1Secure*Password1"
mlflow-mssql:
depends_on:
- mssql
build:
context: .
dockerfile: Dockerfile.mssql
volumes:
- .:/tmp/mlflow
environment:
MLFLOW_TRACKING_URI: mssql+pyodbc://mlflowuser:Mlfl*wpassword1@mssql/mlflowdb?driver=ODBC+Driver+17+for+SQL+Server
command: bash -ex -c "./init-mssql-db.sh && python run_checks.py --schema-output schemas/mssql.sql"
mlflow-sqlite:
depends_on:
- postgres
build:
context: .
volumes:
- .:/tmp/mlflow
environment:
MLFLOW_TRACKING_URI: sqlite:////tmp/mlflow/mlflowdb
command: bash -ex -c "rm -rf mlflowdb && python run_checks.py --schema-output schemas/sqlite.sql"