File size: 1,184 Bytes
58d9159
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
version: '3'
services:
  mlflow:
#    image: ghcr.io/mlflow/mlflow:v2.21.3
#    image: ghcr.io/mlflow/mlflow:v3.0.0rc0
    build: .
    ports:
      - "5000:5000"
    environment:
      - MLFLOW_ARTIFACT_ROOT=s3://1hh-mlflow/artifacts
      - MLFLOW_TRACKING_URI=http://mlflow:5000
    volumes:
      - ./mlflow:/mlflow
    command: mlflow server --host 0.0.0.0 --port 5000 --backend-store-uri sqlite:///mlflow.db --default-artifact-root s3://1hh-mlflow/artifacts
# s3://1hh-mlflow/artifacts/
  postgres:
    image: postgres:14
    environment:
      - POSTGRES_USER=mlflow
      - POSTGRES_PASSWORD=mlflow
      - POSTGRES_DB=mlflowdb
    volumes:
      - ./postgres-temp:/var/lib/postgresql/temp

#  minio:
#    image: minio/minio:latest
#    ports:
#      - "9000:9000"
#    environment:
#      - MINIO_ROOT_USER=minioadmin
#      - MINIO_ROOT_PASSWORD=minioadmin
#    volumes:
#      - ./minio-temp:/temp
#    command: server /temp --console-address ":9001"

  nginx:
    image: nginx:latest
    ports:
      - "80:80"
    volumes:
#      - ./nginx.conf:/etc/nginx/nginx.conf:ro
       - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
    depends_on:
      - mlflow
#      - minio