Added an installation script with complete functionalities.
Updated README.md accordingly
Fixed .gitignore which was too generic.
Added support for kubernetes (kustomize and helm)
Note: the script "run-compose.sh" contains a function (for linux) to automatically detect the GPU installed on the host system, i'm not be able to test it on AMD and Intel GPUs cause i do not have any. On Nvidia works flawlessly.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/275
**Author:** [@dnviti](https://github.com/dnviti)
**Created:** 12/24/2023
**Status:** ✅ Merged
**Merged:** 1/1/2024
**Merged by:** [@tjbck](https://github.com/tjbck)
**Base:** `main` ← **Head:** `dev`
---
### 📝 Commits (10+)
- [`bbfe2fb`](https://github.com/open-webui/open-webui/commit/bbfe2fb1224350be7b9fba1527675c331e75926f) Added a better more generic gitignore which covers both python and nodejs
- [`a580aa8`](https://github.com/open-webui/open-webui/commit/a580aa898466b83ae07975a04c331f8ea4de71b4) general-compose-improvements
- [`2994e1a`](https://github.com/open-webui/open-webui/commit/2994e1abcd30d307fa03246ee14a35802d00003c) fixed gpu count env
- [`c8f81a1`](https://github.com/open-webui/open-webui/commit/c8f81a126117485ebfdbe31a74f0973e46208791) Merge branch 'ollama-webui:main' into general-logistic-improvements
- [`9e1660e`](https://github.com/open-webui/open-webui/commit/9e1660e6bb583cc9dc8c3ae708a2cd1f39e9d4d5) Be able to configure compose from a shell program
- [`3568be4`](https://github.com/open-webui/open-webui/commit/3568be4da828b4a351dda72dab05a1b9c9da2f3b) Merge commit 'c8f81a126117485ebfdbe31a74f0973e46208791' into dev
- [`017825e`](https://github.com/open-webui/open-webui/commit/017825e437d3c6c7a3eae40c3ff58a59f439543a) added compose override for data volume
- [`e2688dc`](https://github.com/open-webui/open-webui/commit/e2688dc2b17bd85a3a92ed67ec3d1b7d53acea4c) Use the built image on repository instead of the local one
- [`16a2d0c`](https://github.com/open-webui/open-webui/commit/16a2d0cdb08a7600489c502387c258e46495b9b0) added option to specify if build image or not
- [`567b88b`](https://github.com/open-webui/open-webui/commit/567b88bb006630f9542a341e92a675845e416005) added drop to kill and build capabilities
### 📊 Changes
**27 files changed** (+992 additions, -35 deletions)
<details>
<summary>View changed files</summary>
📝 `.gitignore` (+291 -0)
📝 `.prettierignore` (+3 -0)
➕ `INSTALLATION.md` (+35 -0)
📝 `README.md` (+64 -27)
📝 `docker-compose.api.yaml` (+2 -2)
➕ `docker-compose.data.yaml` (+6 -0)
📝 `docker-compose.gpu.yaml` (+3 -3)
📝 `docker-compose.yaml` (+3 -3)
➕ `kubernetes/helm/.helmignore` (+0 -0)
➕ `kubernetes/helm/Chart.yaml` (+5 -0)
➕ `kubernetes/helm/templates/ollama-namespace.yaml` (+4 -0)
➕ `kubernetes/helm/templates/ollama-service.yaml` (+13 -0)
➕ `kubernetes/helm/templates/ollama-statefulset.yaml` (+55 -0)
➕ `kubernetes/helm/templates/webui-deployment.yaml` (+38 -0)
➕ `kubernetes/helm/templates/webui-ingress.yaml` (+23 -0)
➕ `kubernetes/helm/templates/webui-pvc.yaml` (+12 -0)
➕ `kubernetes/helm/templates/webui-service.yaml` (+15 -0)
➕ `kubernetes/helm/values.yaml` (+38 -0)
➕ `kubernetes/manifest/base/ollama-namespace.yaml` (+4 -0)
➕ `kubernetes/manifest/base/ollama-service.yaml` (+12 -0)
_...and 7 more files_
</details>
### 📄 Description
As per pull request: [Refactor docker-compose configuration for modularity](https://github.com/ollama-webui/ollama-webui/pull/246).
- Improved docker compose overrides specialization.
- Added an installation script with complete functionalities.
- Updated README.md accordingly
- Fixed .gitignore which was too generic.
- Added support for kubernetes (kustomize and helm)
Note: the script "run-compose.sh" contains a function (for linux) to automatically detect the GPU installed on the host system, i'm not be able to test it on AMD and Intel GPUs cause i do not have any. On Nvidia works flawlessly.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/275
Author: @dnviti
Created: 12/24/2023
Status: ✅ Merged
Merged: 1/1/2024
Merged by: @tjbck
Base:
main← Head:dev📝 Commits (10+)
bbfe2fbAdded a better more generic gitignore which covers both python and nodejsa580aa8general-compose-improvements2994e1afixed gpu count envc8f81a1Merge branch 'ollama-webui:main' into general-logistic-improvements9e1660eBe able to configure compose from a shell program3568be4Merge commit 'c8f81a126117485ebfdbe31a74f0973e46208791' into dev017825eadded compose override for data volumee2688dcUse the built image on repository instead of the local one16a2d0cadded option to specify if build image or not567b88badded drop to kill and build capabilities📊 Changes
27 files changed (+992 additions, -35 deletions)
View changed files
📝
.gitignore(+291 -0)📝
.prettierignore(+3 -0)➕
INSTALLATION.md(+35 -0)📝
README.md(+64 -27)📝
docker-compose.api.yaml(+2 -2)➕
docker-compose.data.yaml(+6 -0)📝
docker-compose.gpu.yaml(+3 -3)📝
docker-compose.yaml(+3 -3)➕
kubernetes/helm/.helmignore(+0 -0)➕
kubernetes/helm/Chart.yaml(+5 -0)➕
kubernetes/helm/templates/ollama-namespace.yaml(+4 -0)➕
kubernetes/helm/templates/ollama-service.yaml(+13 -0)➕
kubernetes/helm/templates/ollama-statefulset.yaml(+55 -0)➕
kubernetes/helm/templates/webui-deployment.yaml(+38 -0)➕
kubernetes/helm/templates/webui-ingress.yaml(+23 -0)➕
kubernetes/helm/templates/webui-pvc.yaml(+12 -0)➕
kubernetes/helm/templates/webui-service.yaml(+15 -0)➕
kubernetes/helm/values.yaml(+38 -0)➕
kubernetes/manifest/base/ollama-namespace.yaml(+4 -0)➕
kubernetes/manifest/base/ollama-service.yaml(+12 -0)...and 7 more files
📄 Description
As per pull request: Refactor docker-compose configuration for modularity.
Note: the script "run-compose.sh" contains a function (for linux) to automatically detect the GPU installed on the host system, i'm not be able to test it on AMD and Intel GPUs cause i do not have any. On Nvidia works flawlessly.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.