From 5d17b6aa154a666a5ac6d125012cc532d1dfc28c Mon Sep 17 00:00:00 2001 From: Vladimir Kotal Date: Wed, 11 Sep 2024 11:38:45 +0200 Subject: [PATCH 1/2] document INDEXER_JAVA_OPTS --- docker/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/README.md b/docker/README.md index 57931d58177..00dc820887f 100644 --- a/docker/README.md +++ b/docker/README.md @@ -92,9 +92,10 @@ The image contains these directories: ## Environment Variables | Docker Environment Var. | Default value | Description | -| ----------------------- | ------------- | ----------- | +| ----------------------- | -------- | ----------- | `SYNC_PERIOD_MINUTES` | 10 | Period of automatic synchronization (i.e. mirroring + reindexing) in minutes. Setting to `0` will disable periodic syncing (the sync after container startup will still be done). `INDEXER_OPT` | empty | pass **extra** options to OpenGrok Indexer. For example, `-i d:vendor` will remove all the `*/vendor/*` files from the index. You can check the indexer options on https://github.com/oracle/opengrok/wiki/Python-scripts-transition-guide. The default set of indexer options is: `--remote on -P -H -W`. Do not add `-R` as it is used internally. Rather, see below for the `READONLY_CONFIG_FILE` environment variable. +`INDEXER_JAVA_OPTS` | empty | pass **extra** Java options to OpenGrok Indexer. `NOMIRROR` | empty | To avoid the mirroring step, set the variable to non-empty value. `URL_ROOT` | `/` | Override the sub-URL that OpenGrok should run on. `WORKERS` | number of CPUs in the container | number of workers to use for syncing (applies only to setup with projects enabled) From 1097111509f7053d893376f227ab6b2c290c8410 Mon Sep 17 00:00:00 2001 From: Vladimir Kotal Date: Wed, 11 Sep 2024 11:41:47 +0200 Subject: [PATCH 2/2] Update docker/README.md --- docker/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/README.md b/docker/README.md index 00dc820887f..02981104d57 100644 --- a/docker/README.md +++ b/docker/README.md @@ -92,7 +92,7 @@ The image contains these directories: ## Environment Variables | Docker Environment Var. | Default value | Description | -| ----------------------- | -------- | ----------- | +| ----------------------- | ------------- | ----------- | `SYNC_PERIOD_MINUTES` | 10 | Period of automatic synchronization (i.e. mirroring + reindexing) in minutes. Setting to `0` will disable periodic syncing (the sync after container startup will still be done). `INDEXER_OPT` | empty | pass **extra** options to OpenGrok Indexer. For example, `-i d:vendor` will remove all the `*/vendor/*` files from the index. You can check the indexer options on https://github.com/oracle/opengrok/wiki/Python-scripts-transition-guide. The default set of indexer options is: `--remote on -P -H -W`. Do not add `-R` as it is used internally. Rather, see below for the `READONLY_CONFIG_FILE` environment variable. `INDEXER_JAVA_OPTS` | empty | pass **extra** Java options to OpenGrok Indexer.