fix numbering and link
This commit is contained in:
parent
30b6d251cd
commit
381c8d2e8a
4 changed files with 24 additions and 18 deletions
|
|
@ -1,9 +1,3 @@
|
|||
import PartialDockerStopAll from '@site/docs/_partial-docker-stop-all.mdx';
|
||||
|
||||
1. Stop all running containers:
|
||||
|
||||
<PartialDockerStopAll />
|
||||
|
||||
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
|
||||
|
|
|
|||
|
|
@ -70,12 +70,18 @@ If you want to reinstall one container, specify the container name in the comman
|
|||
|
||||
<PartialExportFlows />
|
||||
|
||||
<PartialDockerRemoveAndCleanupSteps />
|
||||
2. Stop all running containers:
|
||||
|
||||
1. Optional: Edit OpenRAG's `.env` file if needed.
|
||||
<PartialDockerStopAll />
|
||||
|
||||
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:
|
||||
|
||||
<PartialDockerRemoveAndCleanupSteps />
|
||||
|
||||
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.
|
||||
|
|
@ -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:
|
||||
|
||||
<PartialDockerRemoveAndCleanupSteps />
|
||||
1. Stop all running containers:
|
||||
|
||||
1. Remove OpenRAG's `.env` file and the `~/.openrag/documents` directory, which aren't deleted by the previous commands.
|
||||
<PartialDockerStopAll />
|
||||
|
||||
1. Stop `docling-serve`:
|
||||
2. Remove and clean up containers:
|
||||
|
||||
<PartialDockerRemoveAndCleanupSteps />
|
||||
|
||||
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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue