diff --git a/docs/docs/_partial-docker-compose-down-and-prune.mdx b/docs/docs/_partial-docker-compose-down-and-prune.mdx new file mode 100644 index 00000000..179c0525 --- /dev/null +++ b/docs/docs/_partial-docker-compose-down-and-prune.mdx @@ -0,0 +1,9 @@ +```bash title="Docker" +docker compose down --volumes --remove-orphans --rmi local +docker system prune -f +``` + +```bash title="Podman" +podman compose down --volumes --remove-orphans --rmi local +podman system prune -f +``` \ No newline at end of file diff --git a/docs/docs/_partial-docker-compose-up.mdx b/docs/docs/_partial-docker-compose-up.mdx new file mode 100644 index 00000000..535effb3 --- /dev/null +++ b/docs/docs/_partial-docker-compose-up.mdx @@ -0,0 +1,7 @@ +```bash title="Docker" +docker compose up -d +``` + +```bash title="Podman" +podman compose up -d +``` \ No newline at end of file diff --git a/docs/docs/_partial-docker-remove-and-cleanup-steps.mdx b/docs/docs/_partial-docker-remove-and-cleanup-steps.mdx new file mode 100644 index 00000000..ccc91713 --- /dev/null +++ b/docs/docs/_partial-docker-remove-and-cleanup-steps.mdx @@ -0,0 +1,49 @@ +2. Remove all containers, including stopped containers: + + ```bash title="Docker" + docker rm --force $(docker ps -aq) + ``` + + ```bash title="Podman" + podman rm --all --force + ``` + +3. Remove all images: + + ```bash title="Docker" + docker rmi --force $(docker images -q) + ``` + + ```bash title="Podman" + podman rmi --all --force + ``` + +4. Remove all volumes: + + ```bash title="Docker" + docker volume prune --force + ``` + + ```bash title="Podman" + podman volume prune --force + ``` + +5. Remove all networks except the default network: + + ```bash title="Docker" + docker network prune --force + ``` + + ```bash title="Podman" + podman network prune --force + ``` + +6. Clean up any leftover data: + + ```bash title="Docker" + docker system prune --all --force --volumes + ``` + + ```bash title="Podman" + podman system prune --all --force --volumes + ``` \ No newline at end of file diff --git a/docs/docs/_partial-docker-stop-all.mdx b/docs/docs/_partial-docker-stop-all.mdx new file mode 100644 index 00000000..3fbf17f9 --- /dev/null +++ b/docs/docs/_partial-docker-stop-all.mdx @@ -0,0 +1,7 @@ +```bash title="Docker" +docker stop $(docker ps -q) +``` + +```bash title="Podman" +podman stop --all +``` \ No newline at end of file diff --git a/docs/docs/_partial-factory-reset-warning.mdx b/docs/docs/_partial-factory-reset-warning.mdx new file mode 100644 index 00000000..97f2ca7e --- /dev/null +++ b/docs/docs/_partial-factory-reset-warning.mdx @@ -0,0 +1,25 @@ +:::warning +This is a destructive action that does the following: + +* Destroys all OpenRAG containers, volumes, and local images with `docker compose down --volumes --remove-orphans --rmi local`. +* Prunes any additional container objects with `docker system prune -f`. +* Deletes the contents of OpenRAG's `config` and `./opensearch-data` directories. +* Deletes the `conversations.json` file. + +

Destroyed containers and deleted data are lost and cannot be recovered after running this operation. + +This operation _doesn't_ remove the `.env` file or the contents of the `./openrag-documents` directory. +::: + + \ No newline at end of file diff --git a/docs/docs/_partial-install-next-steps.mdx b/docs/docs/_partial-install-next-steps.mdx new file mode 100644 index 00000000..ad5938be --- /dev/null +++ b/docs/docs/_partial-install-next-steps.mdx @@ -0,0 +1,5 @@ +## Next steps + +* Try some of OpenRAG's core features in the [quickstart](/quickstart#chat-with-documents). +* Learn how to [manage OpenRAG services](/manage-services). +* [Upload documents](/ingestion), and then use the [**Chat**](/chat) to explore your data. \ No newline at end of file diff --git a/docs/docs/_partial-integrate-chat.mdx b/docs/docs/_partial-integrate-chat.mdx index de3d9a62..867ecd27 100644 --- a/docs/docs/_partial-integrate-chat.mdx +++ b/docs/docs/_partial-integrate-chat.mdx @@ -4,8 +4,8 @@ import TabItem from '@theme/TabItem'; 1. Open the **OpenRAG OpenSearch Agent** flow in the Langflow visual editor: From the **Chat** window, click

- Ollama model selection and external server configuration - -
- 3. Click **Complete**. - 4. To complete the onboarding tasks, click **What is OpenRAG**, and then click **Add a Document**. - 5. Continue with the [Quickstart](/quickstart). +6. Continue through the overview slides for a brief introduction to OpenRAG, or click