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
Copy file name to clipboardExpand all lines: docker/README.md
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,6 +71,17 @@ The container exports ports 8080 for OpenGrok.
71
71
72
72
The volume mounted to `/opengrok/src` should contain the projects you want to make searchable (in sub directories). You can use common revision control checkouts (git, svn, etc...) and OpenGrok will make history and blame information available.
73
73
74
+
## Directories
75
+
76
+
The image contains these directories:
77
+
78
+
| Directory | Description |
79
+
| --------- | ----------- |
80
+
`/opengrok/etc` | stores the configuration for both web app and indexer
81
+
`/opengrok/data` | data root - index data
82
+
`/opengrok/src` | source root - input data
83
+
`/scripts` | startup script and top level configuration. Do not override unless debugging.
84
+
74
85
## Environment Variables
75
86
76
87
| Docker Environment Var. | Default value | Description |
@@ -80,7 +91,7 @@ The volume mounted to `/opengrok/src` should contain the projects you want to ma
80
91
`NOMIRROR` | empty | To avoid the mirroring step, set the variable to non-empty value.
81
92
`URL_ROOT` | `/` | Override the sub-URL that OpenGrok should run on.
82
93
`WORKERS` | number of CPUs in the container | number of workers to use for syncing (applies only to setup with projects enabled)
83
-
`AVOID_PROJECTS` | empty | run in project less configuration. Set to non empty value disables projects.
94
+
`AVOID_PROJECTS` | empty | run in project less configuration. Set to non empty value disables projects. Also disables repository synchronization.
84
95
`REST_PORT` | 5000 | TCP port where simple REST app listens for GET requests on `/reindex` to trigger manual reindex.
85
96
`REST_TOKEN` | None | if set, the REST app will require this token as Bearer token in order to trigger reindex.
86
97
`READONLY_CONFIG_FILE` | None | if set, the configuration will be merged with configuration from this file. This is run when the container starts.
0 commit comments