Indexer UI
Configuring the Indexer UI
Section titled “Configuring the Indexer UI”1. Download the indexer-ui Submodule
Section titled “1. Download the indexer-ui Submodule”Ensure the
indexer-uisubmodule is initialized and downloaded. If not, run the following command from the root of youropenragproject:
cd <project-name> # openrag projectgit submodule update --init --recursive2. Set Environment Variables
Section titled “2. Set Environment Variables”To enable the Indexer UI, add the following environment variables to your configuration:
- Replace
X.X.X.Xwithlocalhost(for local deployment) or your server IP - Replace
APP_PORTwith your FastAPI port (default: 8080) - Set the base URL of the Indexer UI (required to prevent CORS issues). Replace
INDEXERUI_PORTaccordingly - Set the base URL of your FastAPI backend (used by the frontend). Replace
APP_PORTaccordingly
INCLUDE_CREDENTIALS=false # Set to true if FastAPI authentication is enabledINDEXERUI_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'