Skip to content

Indexer UI

Ensure the indexer-ui submodule is initialized and downloaded. If not, run the following command from the root of your openrag project:

Terminal window
cd <project-name> # openrag project
git submodule update --init --recursive

To enable the Indexer UI, add the following environment variables to your configuration:

  • Replace X.X.X.X with localhost (for local deployment) or your server IP
  • Replace APP_PORT with your FastAPI port (default: 8080)
  • Set the base URL of the Indexer UI (required to prevent CORS issues). Replace INDEXERUI_PORT accordingly
  • Set the base URL of your FastAPI backend (used by the frontend). Replace APP_PORT accordingly
Terminal window
INCLUDE_CREDENTIALS=false # Set to true if FastAPI authentication is enabled
INDEXERUI_PORT=8060 # Port for the Indexer UI (default: 3042)
INDEXERUI_URL='http://X.X.X.X:INDEXERUI_PORT'
API_BASE_URL='http://X.X.X.X:APP_PORT'