diff --git a/docs/docs/_partial-docker-remove-and-cleanup-steps.mdx b/docs/docs/_partial-docker-remove-and-cleanup-steps.mdx index edcb7345..0114ea46 100644 --- a/docs/docs/_partial-docker-remove-and-cleanup-steps.mdx +++ b/docs/docs/_partial-docker-remove-and-cleanup-steps.mdx @@ -1,9 +1,3 @@ -import PartialDockerStopAll from '@site/docs/_partial-docker-stop-all.mdx'; - -1. Stop all running containers: - - - 1. Remove all containers, including stopped containers: ```bash title="Docker" @@ -14,7 +8,7 @@ import PartialDockerStopAll from '@site/docs/_partial-docker-stop-all.mdx'; podman rm --all --force ``` -1. Remove all images: +2. Remove all images: ```bash title="Docker" docker rmi --force $(docker images -q) @@ -24,7 +18,7 @@ import PartialDockerStopAll from '@site/docs/_partial-docker-stop-all.mdx'; podman rmi --all --force ``` -1. Remove all volumes: +3. Remove all volumes: ```bash title="Docker" docker volume prune --force @@ -34,7 +28,7 @@ import PartialDockerStopAll from '@site/docs/_partial-docker-stop-all.mdx'; podman volume prune --force ``` -1. Remove all networks except the default network: +4. Remove all networks except the default network: ```bash title="Docker" docker network prune --force @@ -44,7 +38,7 @@ import PartialDockerStopAll from '@site/docs/_partial-docker-stop-all.mdx'; podman network prune --force ``` -1. Clean up any leftover data: +5. Clean up any leftover data: ```bash title="Docker" docker system prune --all --force --volumes diff --git a/docs/docs/get-started/reinstall.mdx b/docs/docs/get-started/reinstall.mdx index f24d56de..047878d0 100644 --- a/docs/docs/get-started/reinstall.mdx +++ b/docs/docs/get-started/reinstall.mdx @@ -70,12 +70,18 @@ If you want to reinstall one container, specify the container name in the comman - +2. Stop all running containers: -1. Optional: Edit OpenRAG's `.env` file if needed. + -1. Optional: If you removed all containers or specifically the OpenSearch container, then you can remove any files from the `~/.openrag/documents` subdirectory that you don't want to reingest after redeploying the containers. +3. Remove and clean up containers: + + + +4. Optional: Edit OpenRAG's `.env` file if needed. + +5. Optional: If you removed all containers or specifically the OpenSearch container, then you can remove any files from the `~/.openrag/documents` subdirectory that you don't want to reingest after redeploying the containers. It is recommended that you preserve OpenRAG's [default documents](https://github.com/langflow-ai/openrag/tree/main/openrag-documents). -1. If you removed all OpenRAG containers, [redeploy OpenRAG](/docker). +6. If you removed all OpenRAG containers, [redeploy OpenRAG](/docker). If you removed only one container, redeploy that container with the appropriate `docker run` or `podman run` command. \ No newline at end of file diff --git a/docs/docs/get-started/uninstall.mdx b/docs/docs/get-started/uninstall.mdx index a9261f62..b66e26c0 100644 --- a/docs/docs/get-started/uninstall.mdx +++ b/docs/docs/get-started/uninstall.mdx @@ -41,11 +41,17 @@ Use these steps to uninstall a self-managed OpenRAG deployment with streamlined Use these commands to uninstall a self-managed OpenRAG deployment with discrete `docker` or `podman` commands: - +1. Stop all running containers: -1. Remove OpenRAG's `.env` file and the `~/.openrag/documents` directory, which aren't deleted by the previous commands. + -1. Stop `docling-serve`: +2. Remove and clean up containers: + + + +3. Remove OpenRAG's `.env` file and the `~/.openrag/documents` directory, which aren't deleted by the previous commands. + +4. Stop `docling-serve`: ```bash uv run python scripts/docling_ctl.py stop diff --git a/docs/docs/reference/configuration.mdx b/docs/docs/reference/configuration.mdx index 444bab0d..3a60fdec 100644 --- a/docs/docs/reference/configuration.mdx +++ b/docs/docs/reference/configuration.mdx @@ -22,7 +22,7 @@ If a variable isn't set, OpenRAG uses default or fallback values where available Not all variables have default values, and errors can occur if required variables aren't set. Default values can be found in the reference tables on this page and in [`config_manager.py`](https://github.com/langflow-ai/openrag/blob/main/src/config/config_manager.py), [`settings.py`](https://github.com/langflow-ai/openrag/blob/main/src/config/settings.py), and [`logging_config.py`](https://github.com/langflow-ai/openrag/blob/main/src/utils/logging_config.py). -You can [temporarily set Langflow variables at runtime](#modify-a-flow-at-runtime). +You can [temporarily set Langflow variables at runtime](/agents#modify-a-flow-at-runtime). However, these temporary overrides don't overlap with most OpenRAG environment variables. The only exceptions are flow-level Langflow settings, such as the language model used in a flow.