This is an automated email from the ASF dual-hosted git repository.

petko pushed a commit to branch migration-translation-opengrok
in repository https://gitbox.apache.org/repos/asf/openoffice-devtools.git

commit c73d10e24c2009904a6085341a99b90cd42b9b7e
Author: Peter Kovacs <[email protected]>
AuthorDate: Fri Oct 31 20:07:48 2025 +0100

    remove css config
    remove porject name
    remove api config
    replace indexing switcihes
---
 images/opengrok/docker-compose.yaml | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/images/opengrok/docker-compose.yaml 
b/images/opengrok/docker-compose.yaml
index 370eebd..5c1e2e9 100644
--- a/images/opengrok/docker-compose.yaml
+++ b/images/opengrok/docker-compose.yaml
@@ -1,7 +1,7 @@
 # Docker Compose configuration for OpenGrok
 services:
   opengrok:
-    container_name: aoo-opengrok
+    container_name: aoo-opengrok-test
     #image: opengrok/docker:latest
     image:  opengrok/docker:1.14.3
     ports:
@@ -25,21 +25,20 @@ services:
 
       # Optional: Mount host's localtime to ensure consistent timestamps
       - "/etc/localtime:/etc/localtime:ro"
-      - "${opengrok_xml_config}:/opengrok/etc/read-only.xml:ro" 
#/workspace/openoffice-devtools/images/opengrok/css
     environment:
           # These are default and usually good enough, but illustrate:
-      - OPENGROK_PROJECTS=AOO41XX   # Optional: Name your project
+      #- OPENGROK_PROJECTS=AOO41XX   # Optional: Name your project
       - OPENGROK_WEBAPP_CONTEXT=/opengrok/src        # Webapp path
       - OPENGROK_REFRESH_INTERVAL=1440   # Indexing interval in minutes (daily)
       - OPENGROK_CSS_DIR=/opengrok/custom-styles
       - READONLY_CONFIG_FILE=/opengrok/etc/read-only.xml
-      - OPENGROK_WEBAPP_NOINDEX=false  # Allow indexing via API
-      - OPENGROK_AUTH_REQUIRED=false   # Disable auth requirement
+      #- OPENGROK_WEBAPP_NOINDEX=false  # Allow indexing via API
+      #- OPENGROK_AUTH_REQUIRED=false   # Disable auth requirement
       # --- This is the key part for indexing! ---
       # This tells OpenGrok to index everything under /opengrok/src
       # and put the index data in /opengrok/data.
       # The '--sync' or '--scan-repositories' (newer) argument helps with VCS 
detection.
-      - INDEXER_OPT="-U /opengrok/src -d /opengrok/data --scan-repositories"
+      - INDEXER_OPT=-s /opengrok/src   -d /opengrok/data   -H -P -S -v
       # How often OpenGrok should synchronize and re-index repositories (in 
minutes).
       # Set to 0 to disable automatic synchronization.
       - SYNC_PERIOD_MINUTES=60

Reply via email to