mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2026-05-01 15:46:06 +02:00
Add open-webui and improve readme
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
Submodule infrastructure/services/minecraft-server updated: 25cccca180...609902576f
@@ -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: {}
|
||||
@@ -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=
|
||||
|
||||
Reference in New Issue
Block a user