ML / Analyse statique de sécurité (push) Successful in 6s
SonarQube / test-ml (push) Failing after 6m4s
SonarQube / build-front (push) Successful in 9m44s
SonarQube / build-back (push) Successful in 9m50s
ML / Lint, typage et tests (push) Successful in 11m41s
SonarQube / test-front (push) Failing after 5m1s
SonarQube / test-back (push) Failing after 5m11s
SonarQube / SonarQube (push) Skipped
33 lines
910 B
YAML
33 lines
910 B
YAML
services:
|
|
mlflow-db:
|
|
image: postgres:17
|
|
environment:
|
|
POSTGRES_USER: mlflow
|
|
POSTGRES_PASSWORD: ${MLFLOW_DB_PASSWORD:?definir MLFLOW_DB_PASSWORD dans ml/.env}
|
|
POSTGRES_DB: mlflow
|
|
volumes:
|
|
- mlflow-db-data:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U mlflow"]
|
|
interval: 5s
|
|
retries: 10
|
|
|
|
mlflow:
|
|
build: .
|
|
depends_on:
|
|
mlflow-db:
|
|
condition: service_healthy
|
|
ports:
|
|
- "127.0.0.1:5000:5000"
|
|
volumes:
|
|
- mlflow-artifacts:/mlartifacts
|
|
environment:
|
|
MLFLOW_DB_PASSWORD: ${MLFLOW_DB_PASSWORD}
|
|
entrypoint: [ "/bin/sh", "-c" ]
|
|
command:
|
|
- exec mlflow server --host 0.0.0.0 --port 5000 --backend-store-uri "postgresql://mlflow:$$MLFLOW_DB_PASSWORD@mlflow-db:5432/mlflow" --artifacts-destination /mlartifacts --serve-artifacts
|
|
|
|
volumes:
|
|
mlflow-db-data:
|
|
mlflow-artifacts:
|