Skip to content

Commit

Permalink
Added dev. container set-up
Browse files Browse the repository at this point in the history
  • Loading branch information
stemann committed Apr 15, 2024
1 parent 6a85bf6 commit 56479a5
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .devcontainer/compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: '3'

services:
project:
image: mcr.microsoft.com/devcontainers/base:debian
volumes:
- ../..:/workspaces:cached
command: sleep infinity # Overrides default command so things don't shut down after the process ends.

mlflow:
image: ghcr.io/mlflow/mlflow:v2.10.0
entrypoint: ["mlflow", "server", "--host", "0.0.0.0"]
ports:
- "5000"
14 changes: 14 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"dockerComposeFile": "compose.yaml",
"service": "project",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
"features": {
"ghcr.io/julialang/devcontainer-features/julia:1": {
"channel": "release"
}
},
"containerEnv": {
"JULIA_PROJECT": "/workspaces/${localWorkspaceFolderBasename}",
"MLFLOW_TRACKING_URI": "http://mlflow:5000",
}
}

0 comments on commit 56479a5

Please sign in to comment.