-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
51 lines (45 loc) · 1.13 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
version: '3.1'
services:
postgres:
image: postgres:12.2
networks:
- net
environment:
POSTGRES_USER: mlflow
POSTGRES_PASSWORD: mlflow
POSTGRES_DB: mlflow
user: "501:20" # Replace the values of "id -u" and "id -g"
volumes:
- /etc/passwd:/etc/passwd:ro
- $PWD/data/postgres:/var/lib/postgresql/data
adminer:
image: adminer
networks:
- net
# restart: always
depends_on: ["postgres"]
ports:
- 8080:8080
minio:
image: minio/minio:latest
networks:
- net
volumes:
- $PWD/data/minio:/data
ports:
- 9000:9000
command: ["server", "/data"]
# mlflow:
# image: mlflow:v1.7.0
# depends_on: ["postgres", "minio"]
# environment:
# - MLFLOW_S3_ENDPOINT_URL=http://minio:9000
# - AWS_ACCESS_KEY_ID=minioadmin
# - AWS_SECRET_ACCESS_KEY=minioadmin
# ports:
# - 5000:5000
# # [TODO] Minio
# command: ["server", "--host", "0.0.0.0", "--backend-store-uri","postgresql+psycopg2://mlflow:mlflow@postgres/mlflow", "--default-artifact-root", "s3://mlflow"]
networks:
net:
driver: bridge