GitBook: [#116] No subject

This commit is contained in:
Jonathan Schneider
2022-08-15 18:11:25 +00:00
committed by gitbook-bot
parent 8dadb141c6
commit ba5df50284
3 changed files with 7 additions and 6 deletions

View File

@@ -41,10 +41,7 @@ You can configure multiple GitHub OAuth Apps by including multiple entries with
* `MODERNE_AGENT_GITHUB_{index}_OAUTH_CLIENTSECRET` - Client secret configured in the previous step
* `MODERNE_AGENT_GITHUB_{index}_URL` - fully-qualified hostname of running GitHub instance
* `MODERNE_AGENT_GITHUB_{index}_SKIP_SSL` - skip SSL validation for HTTP connections to this GitHub instance (defaults to false)
By default, the OAuth app will only have access to public repositories within your organization(s). To provide the OAuth app access to private repositories, you can include the following optional configuration:
* MODERNE\_AGENT\_GITHUB\_{index}\_OAUTH\_INCLUDEPRIVATEREPOS`=true`
* `MODERNE_AGENT_GITHUB_{index}_OAUTH_INCLUDEPRIVATEREPOS` - By default, the OAuth app will only have access to public repositories within your organization(s). To provide the OAuth app access to private repositories, you can include the following optional configuration:

View File

@@ -58,7 +58,11 @@ You can configure multiple Maven repositories by including multiple entries with
* `MODERNE_AGENT_MAVEN_0_URL` - repository URL
* `MODERNE_AGENT_MAVEN_0_USERNAME` - username used to resolve artifacts, if any
* `MODERNE_AGENT_MAVEN_0_PASSWORD` - password used to resolve artifacts, if any
* `MODERNE_AGENT_MAVEN_0_LOCAL_REPOSITORY` - the path on disk where AST artifacts and Maven index files will be downloaded. AST artifacts are deleted on disk after being transmitted to Moderne. Index files remain and only incremental updates are downloaded from the remote artifact repository (to limit data transfer). **Note:** If multiple mavens are configured on the same agent, they **must** have different `LOCAL_REPOSITORY` configured.
* `MODERNE_AGENT_MAVEN_0_LOCAL_REPOSITORY` - the path on disk where AST artifacts and Maven index files will be downloaded. AST artifacts are deleted on disk after being transmitted to Moderne. Index files remain and only incremental updates are downloaded from the remote artifact repository (to limit data transfer). 
{% hint style="info" %}
If multiple mavens are configured on the same agent, they **must** have different `MODERNE_AGENT_MAVEN_{index}_LOCAL_REPOSITORY` configured.
{% endhint %}
Example

View File

@@ -3,7 +3,7 @@
### Running Moderne Agent Docker container
```
docker run --env-file sample-agent.env moderne-dev/moderne/moderne-agent:0.65.0
docker run --env-file sample-agent.env moderne-dev/moderne/moderne-agent:0.74.0
```
### Example `sample-agent.env` file