Skip to content

Commit 5284bb6

Browse files
nbowen3xalelax
andauthored
doc: add mlflow auth information to docs (#417)
<!-- Please use a PR title that conforms to *conventional commits*: "<commit_type>: Describe your change"; for example: "fix: prevent race condition". Some other commit types are: fix, feat, ci, doc, refactor... For a full list of commit types visit https://www.conventionalcommits.org/en/v1.0.0/ --> #### Relevant issue or PR <!-- If the changes resolve an issue or follow some other PR, link to them here. Only link something if it is directly relevant. --> #### Description of changes <!-- Add a high-level description of changes, focusing on the *what* and *why*. --> In #416, we added a fix so auth for MLFlow properly works. This documents what env need to be set for auth. #### Testing done <!-- Describe how the changes were tested; e.g., "CI passes", "Tested manually in stagingrepo#123", screenshots of a terminal session that verify the changes, or any other evidence of testing the changes. --> --------- Co-authored-by: Alessandro Angioi <alessandro.angioi@simulation.science>
1 parent a794cc2 commit 5284bb6

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

docs/content/using-tesseracts/advanced.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,15 @@ As an alternative to the MLflow setup we provide, you can point your Tesseract t
6666
$ tesseract serve --env=TESSERACT_MLFLOW_TRACKING_URI="..." metrics
6767
````
6868

69+
Note that if your MLFlow server uses basic auth, you need to populate the `TESSERACT_MLFLOW_TRACKING_USERNAME` and
70+
`TESSERACT_MLFLOW_TRACKING_PASSWORD` for the Tesseract to be able to authenticate to it.
71+
72+
```bash
73+
$ tesseract serve --env=TESSERACT_MLFLOW_TRACKING_URI="..." \
74+
--env=TESSERACT_MLFLOW_TRACKING_USERNAME="..." --env=TESSERACT_MLFLOW_TRACKING_PASSWORD="..." \
75+
metrics
76+
````
77+
6978
## Volume mounts and user permissions
7079
7180
When mounting a volume into a Tesseract container, default behavior depends on the Docker engine being used. Specifically, Docker Desktop, Docker Engine, and Podman have different ways of handling user permissions for mounted volumes.

0 commit comments

Comments
 (0)