Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ad65a66

Browse files
CONTRIBUTING.md updated
1 parent a49d444 commit ad65a66

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

‎mlflow/docker-compose-test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# docker-compose.yml
2+
name: mlflowtest
3+
services:
4+
# MLflow server for testing
5+
mlflowtest:
6+
# The latest mlflow docker image
7+
image: ghcr.io/mlflow/mlflow
8+
ports:
9+
- "5002:5002"
10+
command: mlflow server --host 0.0.0.0 --port 5002
11+
healthcheck:
12+
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:5002/health')"]
13+
interval: 30s
14+
timeout: 10s
15+
retries: 3
16+
# Development environment to ensure consistency across contributors
17+
devtest:
18+
build:
19+
context: .
20+
dockerfile: Dockerfile
21+
volumes:
22+
- .:/mlflow # Mount code for live development
23+
- /mlflow/node_modules # Keep node_modules in container
24+
command: /bin/sh -c "while sleep 1000; do :; done" # Keep container running
25+
depends_on:
26+
mlflowtest:
27+
condition: service_healthy

‎mlflow/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
"build": "npm run clean && tsc -p tsconfig.json && tsc-alias -p tsconfig.json",
3030
"test": "jest --runInBand",
3131
"lint": "eslint src",
32-
"docker": "docker-compose pull && docker-compose -f docker-compose.yml up"
32+
"docker": "docker-compose pull && docker-compose -f docker-compose.yml up",
33+
"dockerTest": "docker-compose pull && docker-compose -f docker-compose-test.yml up"
3334
},
3435
"keywords": [
3536
"mlflow",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /