Add environment variables to make it easy for anyone to host

This commit is contained in:
2025-02-28 11:50:53 -06:00
parent 69239287b2
commit c75f426065
4 changed files with 100 additions and 48 deletions

20
.env.example Normal file
View File

@ -0,0 +1,20 @@
# All environment variables must be prefixed with VITE_ to be seen by client.
# Self-hosted Services URLs.
VITE_BANG_URL="https://bang."
VITE_GITEA_URL="https://git."
VITE_SEARXNG_URL="https://search."
VITE_OPENWEBUI_URL="https://chat."
# Set default bang here. For example "g" would be Google.
# Google is the default if you don't set this.
# 's' is for your searxng instance, replacing startpage
VITE_DEFAULT_BANG="s"
# SPECIFIC MODELS FOR OPENWEBUI
# Local
VITE_LLAMA_MODEL="llama3.1" # !llama
VITE_DEEPSEEK_MODEL="deepseek-r1:8b" # !r1
# Remote
VITE_OPENAI_MODEL="gpt-4o-mini" # !openai
VITE_CLAUDE_MODEL="anthropic/claude-3.5-sonnet" # !claude