diff --git a/.devcontainer/compose.yaml b/.devcontainer/compose.yaml new file mode 100644 index 0000000..ae4c6bf --- /dev/null +++ b/.devcontainer/compose.yaml @@ -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" diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..c33fe33 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -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", + } +}