-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (42 loc) · 995 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
version: '3'
services:
mlfs_proj:
build:
context: mlflow_server/
dockerfile: Dockerfile
volumes:
- "./mlruns:/mlruns"
ports:
- 5555:5000
environment:
- "MLFLOW_S3_ENDPOINT_URL=http://172.20.128.3:9000"
- "AWS_ACCESS_KEY_ID=minio"
- "AWS_SECRET_ACCESS_KEY=minio123"
- "ARTIFACT_ROOT=s3://mlflow-artifacts/"
user: root
depends_on:
- minio_proj
container_name: mlfs_proj
networks:
mlfs-network:
ipv4_address: 172.20.128.2
minio_proj:
image: minio/minio:latest
volumes:
- "./data:/data"
ports:
- "9001:9000"
environment:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
entrypoint: sh
command: -c 'mkdir -p /data/mlflow-artifacts && /usr/bin/minio server /data'
container_name: minio_proj
networks:
mlfs-network:
ipv4_address: 172.20.128.3
networks:
mlfs-network:
ipam:
config:
- subnet: 172.20.0.0/16