Add open-webui and improve readme

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
2025-02-01 02:32:36 +01:00
parent 7595072298
commit 81c81a5d83
10 changed files with 121 additions and 11 deletions
@@ -138,6 +138,10 @@ memos.bensuperpc.org {
reverse_proxy memos:5230
}
open-webui.bensuperpc.org {
reverse_proxy open-webui:8080
}
link.bensuperpc.org {
# TODO: Use service with database
# Friendly links
@@ -90,6 +90,12 @@
description: Gitea
ping: gitea.bensuperpc.org
container: gitea
- open-webui:
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/open-webui.png
href: https://open-webui.bensuperpc.org/
description: ChatGPT local
ping: open-webui.bensuperpc.org
container: open-webui
- Admin:
- uptime-kuma:
@@ -0,0 +1,43 @@
services:
ollama:
image: ollama/ollama:latest
#platform: linux/amd64
container_name: ollama
profiles:
- open-webui
depends_on:
- caddy
restart: on-failure:5
tty: true
volumes:
- ollama:/root/.ollama
security_opt:
- no-new-privileges:true
networks:
- infra-network
open-webui:
image: ghcr.io/open-webui/open-webui:main
container_name: open-webui
profiles:
- open-webui
volumes:
- open-webui:/app/backend/data
depends_on:
- ollama
- caddy
env_file:
- ./env/open-webui.env
#environment:
# - UID=${PUID:-1000}
# - GID=${PGID:-1000}
restart: on-failure:5
networks:
- infra-network
security_opt:
- no-new-privileges:true
volumes:
ollama: {}
open-webui: {}
+18
View File
@@ -0,0 +1,18 @@
OLLAMA_BASE_URL=http://ollama:11434
#WEBUI_SECRET_KEY=
#HF_HUB_OFFLINE=1
# Only with stable-diffusion-webui
#ENABLE_IMAGE_GENERATION=true
#AUTOMATIC1111_BASE_URL=http://stable-diffusion-webui:7860
#IMAGE_SIZE=64x64
#IMAGE_STEPS=3
# Disable analytics
SCARF_NO_ANALYTICS=true
DO_NOT_TRACK=true
ANONYMIZED_TELEMETRY=false
#OPENAI_API_BASE_URL=
#OPENAI_API_KEY=