diff --git a/Dockerfile.backend b/Dockerfile.backend index 5d9d84f4..3c94a279 100644 --- a/Dockerfile.backend +++ b/Dockerfile.backend @@ -21,7 +21,7 @@ COPY pyproject.toml uv.lock ./ RUN uv sync # Copy sample document and warmup script for docling -COPY documents/warmup_ocr.pdf ./ +COPY openrag-documents/warmup_ocr.pdf ./ COPY warm_up_docling.py ./ RUN uv run docling-tools models download RUN uv run python - <<'PY' diff --git a/docker-compose-cpu.yml b/docker-compose-cpu.yml index 61b9a2f6..58e75268 100644 --- a/docker-compose-cpu.yml +++ b/docker-compose-cpu.yml @@ -81,9 +81,10 @@ services: - AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID} - AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY} volumes: - - ./openrag-documents:/app/documents:Z + - ./openrag-documents:/app/openrag-documents:Z - ./keys:/app/keys:Z - ./flows:/app/flows:U,z + - ./config:/app/config:Z openrag-frontend: image: langflowai/openrag-frontend:${OPENRAG_VERSION:-latest} diff --git a/docker-compose.yml b/docker-compose.yml index 2ed199a5..0a284871 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -80,9 +80,10 @@ services: - AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID} - AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY} volumes: - - ./openrag-documents:/app/documents:Z + - ./openrag-documents:/app/openrag-documents:Z - ./keys:/app/keys:Z - ./flows:/app/flows:U,z + - ./config:/app/config:Z openrag-frontend: image: langflowai/openrag-frontend:${OPENRAG_VERSION:-latest} diff --git a/docs/docs/core-components/knowledge.mdx b/docs/docs/core-components/knowledge.mdx index 63edbaa3..4c7e7acc 100644 --- a/docs/docs/core-components/knowledge.mdx +++ b/docs/docs/core-components/knowledge.mdx @@ -29,7 +29,7 @@ To configure the knowledge ingestion pipeline parameters, see [Docling Ingestion The **Knowledge Ingest** flow uses Langflow's [**File** component](https://docs.langflow.org/components-data#file) to split and embed files loaded from your local machine into the OpenSearch database. -The default path to your local folder is mounted from the `./openrag-documents` folder in your OpenRAG project directory to the `/app/documents/` directory inside the Docker container. Files added to the host or the container will be visible in both locations. To configure this location, modify the **Documents Paths** variable in either the TUI's [Advanced Setup](/install#setup) menu or in the `.env` used by Docker Compose. +The default path to your local folder is mounted from the `./openrag-documents` folder in your OpenRAG project directory to the `/app/openrag-documents/` directory inside the Docker container. Files added to the host or the container will be visible in both locations. To configure this location, modify the **Documents Paths** variable in either the TUI's [Advanced Setup](/install#setup) menu or in the `.env` used by Docker Compose. To load and process a single file from the mapped location, click **Add Knowledge**, and then click