Skip to content

Commit 56479a5

Browse files
committed
Added dev. container set-up
1 parent 6a85bf6 commit 56479a5

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.devcontainer/compose.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: '3'
2+
3+
services:
4+
project:
5+
image: mcr.microsoft.com/devcontainers/base:debian
6+
volumes:
7+
- ../..:/workspaces:cached
8+
command: sleep infinity # Overrides default command so things don't shut down after the process ends.
9+
10+
mlflow:
11+
image: ghcr.io/mlflow/mlflow:v2.10.0
12+
entrypoint: ["mlflow", "server", "--host", "0.0.0.0"]
13+
ports:
14+
- "5000"

.devcontainer/devcontainer.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"dockerComposeFile": "compose.yaml",
3+
"service": "project",
4+
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
5+
"features": {
6+
"ghcr.io/julialang/devcontainer-features/julia:1": {
7+
"channel": "release"
8+
}
9+
},
10+
"containerEnv": {
11+
"JULIA_PROJECT": "/workspaces/${localWorkspaceFolderBasename}",
12+
"MLFLOW_TRACKING_URI": "http://mlflow:5000",
13+
}
14+
}

0 commit comments

Comments
 (0)