Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
f337ddb2
Unverified
Commit
f337ddb2
authored
Apr 30, 2024
by
Timothy Jaeryang Baek
Committed by
GitHub
Apr 30, 2024
Browse files
Merge pull request #1880 from Silentoplayz/saynototelemetry
feat: Added Environment Variable ANONYMIZED_TELEMETRY=false
parents
1e05caf8
b2020383
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
.env.example
.env.example
+2
-1
Dockerfile
Dockerfile
+7
-2
No files found.
.env.example
View file @
f337ddb2
...
...
@@ -10,7 +10,8 @@ OPENAI_API_KEY=''
# DO NOT TRACK
SCARF_NO_ANALYTICS=true
DO_NOT_TRACK=true
ANONYMIZED_TELEMETRY=false
# Use locally bundled version of the LiteLLM cost map json
# to avoid repetitive startup connections
LITELLM_LOCAL_MODEL_COST_MAP="True"
LITELLM_LOCAL_MODEL_COST_MAP="True"
\ No newline at end of file
Dockerfile
View file @
f337ddb2
...
...
@@ -51,7 +51,8 @@ ENV OLLAMA_BASE_URL="/ollama" \
ENV
OPENAI_API_KEY="" \
WEBUI_SECRET_KEY="" \
SCARF_NO_ANALYTICS=true \
DO_NOT_TRACK=true
DO_NOT_TRACK=true \
ANONYMIZED_TELEMETRY=false
# Use locally bundled version of the LiteLLM cost map json
# to avoid repetitive startup connections
...
...
@@ -74,6 +75,10 @@ ENV HF_HOME="/app/backend/data/cache/embedding/models"
WORKDIR
/app/backend
ENV
HOME /root
RUN
mkdir
-p
$HOME
/.cache/chroma
RUN
echo
-n
00000000-0000-0000-0000-000000000000
>
$HOME
/.cache/chroma/telemetry_user_id
RUN if
[
"
$USE_OLLAMA
"
=
"true"
]
;
then
\
apt-get update
&&
\
# Install pandoc and netcat
...
...
@@ -129,4 +134,4 @@ COPY ./backend .
EXPOSE
8080
CMD
[ "bash", "start.sh"]
\ No newline at end of file
CMD
[ "bash", "start.sh"]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment