You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`REINDEX` | 10 | Period of automatic mirroring/reindexing in minutes. Setting to `0` will disable automatic indexing. You can manually trigger an reindex using docker exec: `docker exec <container> /scripts/index.sh`
77
+
`SYNC_PERIOD_MINUTES` | 10 | Period of automatic synchronization (i.e. mirroring + reindexing) in minutes. Setting to `0` will disable automatic syncing.
78
78
`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
79
79
`NOMIRROR` | empty | To avoid the mirroring step, set the variable to non-empty value.
80
80
`URL_ROOT` | `/` | Override the sub-URL that OpenGrok should run on.
81
81
`WORKERS` | number of CPUs in the container | number of workers to use for syncing
82
82
83
-
To specify environment variable for `docker run`, use the `-e` option, e.g. `-e REINDEX=30`
83
+
To specify environment variable for `docker run`, use the `-e` option, e.g. `-e SYNC_PERIOD_MINUTES=30`
84
84
85
85
## OpenGrok Web-Interface
86
86
@@ -105,7 +105,7 @@ services:
105
105
ports:
106
106
- "8080:8080/tcp"
107
107
environment:
108
-
REINDEX: '60'
108
+
SYNC_PERIOD_MINUTES: '60'
109
109
# Volumes store your data between container upgrades
110
110
volumes:
111
111
- '~/opengrok/src/:/opengrok/src/'# source code
@@ -123,7 +123,7 @@ Equivalent `docker run` command would look like this:
0 commit comments