mirror of
https://github.com/clearml/clearml-docs
synced 2025-03-12 15:08:55 +00:00
Add fileserver and services agent credentials (#862)
This commit is contained in:
parent
7137669f24
commit
a7371aebee
@ -138,9 +138,20 @@ Deploying the server requires a minimum of 4 GB of memory, 8 GB is recommended.
|
||||
```
|
||||
sudo curl https://raw.githubusercontent.com/allegroai/clearml-server/master/docker/docker-compose.yml -o /opt/clearml/docker-compose.yml
|
||||
```
|
||||
1. For Linux only, configure the **ClearML Agent Services**. If `CLEARML_HOST_IP` is not provided, then ClearML Agent Services uses the external public address of the ClearML Server. If `CLEARML_AGENT_GIT_USER` / `CLEARML_AGENT_GIT_PASS` are not provided, then ClearML Agent Services can't access any private repositories for running service tasks.
|
||||
1. For Linux only, configure the **ClearML Agent Services**:
|
||||
|
||||
* Set `CLEARML_AGENT_ACCESS_KEY` and `CLEARML_AGENT_SECRET_KEY` with confidential strings for the services agent to
|
||||
authenticate with the API server. Provide string values.
|
||||
|
||||
* If `CLEARML_HOST_IP` is not provided, then ClearML Agent Services uses the external public address of the ClearML
|
||||
Server
|
||||
|
||||
* Set `CLEARML_AGENT_GIT_USER` / `CLEARML_AGENT_GIT_PASS` so ClearML Agent Services can access
|
||||
private repositories for running service tasks
|
||||
|
||||
```
|
||||
export CLEARML_AGENT_ACCESS_KEY=generate_access_key_here
|
||||
export CLEARML_AGENT_SECRET_KEY=generate_secret_key_here
|
||||
export CLEARML_HOST_IP=server_host_ip_here
|
||||
export CLEARML_AGENT_GIT_USER=git_username_here
|
||||
export CLEARML_AGENT_GIT_PASS=git_password_here
|
||||
|
@ -45,6 +45,8 @@ Specifically, the relevant settings are:
|
||||
* `secure.auth.token_secret`
|
||||
* `secure.credentials.apiserver.user_key`
|
||||
* `secure.credentials.apiserver.user_secret`
|
||||
* `secure.credentials.fileserver.user_key`
|
||||
* `secure.credentials.fileserver.user_secret`
|
||||
* `secure.credentials.webserver.user_key` (automatically revoked by the server if using [Web Login Authentication](clearml_server_config.md#web-login-authentication))
|
||||
* `secure.credentials.webserver.user_secret` (automatically revoked by the server if using [Web Login Authentication](./clearml_server_config.md#web-login-authentication))
|
||||
* `secure.credentials.tests.user_key`
|
||||
@ -66,6 +68,8 @@ To set new values for these settings, use the following environment variables:
|
||||
* `CLEARML__SECURE__AUTH__TOKEN_SECRET="new-secret-string"`
|
||||
* `CLEARML__SECURE__CREDENTIALS__APISERVER__USER_KEY="new-key-string"`
|
||||
* `CLEARML__SECURE__CREDENTIALS__APISERVER__USER_SECRET="new-secret-string"`
|
||||
* `CLEARML__SECURE__CREDENTIALS__FILESERVER__USER_KEY="new-key-string"`
|
||||
* `CLEARML__SECURE__CREDENTIALS__FILESERVER__USER_SECRET="new-secret-string"`
|
||||
* `CLEARML__SECURE__CREDENTIALS__WEBSERVER__USER_KEY="new-key-string"`
|
||||
* `CLEARML__SECURE__CREDENTIALS__WEBSERVER__USER_SECRET="new-secret-string"`
|
||||
* `CLEARML__SECURE__CREDENTIALS__TESTS__USER_KEY="new-key-string"`
|
||||
|
Loading…
Reference in New Issue
Block a user