fed8b2eed7
Build and push multi-arch DocsGPT Docker image / build (linux/amd64, ubuntu-latest, amd64) (push) Has been cancelled
Backend release / release (push) Has been cancelled
Bandit Security Scan / bandit_scan (push) Has been cancelled
Build and push multi-arch DocsGPT Docker image / build (linux/arm64, ubuntu-24.04-arm, arm64) (push) Has been cancelled
Build and push multi-arch DocsGPT Docker image / manifest (push) Has been cancelled
Build and push DocsGPT FE Docker image for development / build (linux/amd64, ubuntu-latest, amd64) (push) Has been cancelled
Build and push DocsGPT FE Docker image for development / build (linux/arm64, ubuntu-24.04-arm, arm64) (push) Has been cancelled
Build and push DocsGPT FE Docker image for development / manifest (push) Has been cancelled
Python linting / ruff (push) Has been cancelled
Run python tests with pytest / Run tests and count coverage (3.12) (push) Has been cancelled
React Widget Build / build (push) Has been cancelled
24 lines
943 B
Markdown
24 lines
943 B
Markdown
# Optional: MongoDB manifests
|
|
|
|
These manifests are **opt-in**. The default DocsGPT install uses Postgres
|
|
for user data (see `deployment/k8s/deployments/postgres-deploy.yaml`).
|
|
|
|
Apply the manifests in this directory only if you run DocsGPT with the
|
|
MongoDB-backed vector store (`VECTOR_STORE=mongodb`) and need an
|
|
in-cluster MongoDB, or if you are intentionally running on the legacy
|
|
MongoDB user-data store during the Postgres migration window.
|
|
|
|
Mirrors `deployment/optional/` for compose — not applied by the default
|
|
`kubectl apply -k deployment/k8s/`.
|
|
|
|
## Usage
|
|
|
|
```bash
|
|
kubectl apply -f deployment/k8s/optional-mongo/deployments/mongo-deploy.yaml
|
|
kubectl apply -f deployment/k8s/optional-mongo/services/mongo-service.yaml
|
|
```
|
|
|
|
Then extend `docsgpt-secrets.yaml` with a base64-encoded `MONGO_URI`
|
|
pointing at `mongodb://mongodb-service:27017/docsgpt?retryWrites=true&w=majority`
|
|
(or your Atlas/external URI) before re-applying the secret.
|