Parcourir la source

feat: disable tracking from unstructured

Timothy J. Baek il y a 1 an
Parent
commit
f19bb89ff9
2 fichiers modifiés avec 8 ajouts et 1 suppressions
  1. 3 0
      Dockerfile
  2. 5 1
      example.env

+ 3 - 0
Dockerfile

@@ -27,6 +27,9 @@ ENV OPENAI_API_KEY ""
 
 ENV WEBUI_SECRET_KEY ""
 
+ENV SCARF_NO_ANALYTICS true
+ENV DO_NOT_TRACK true
+
 WORKDIR /app/backend
 
 # install python dependencies

+ 5 - 1
example.env

@@ -3,4 +3,8 @@
 OLLAMA_API_BASE_URL='http://localhost:11434/api'
 
 OPENAI_API_BASE_URL=''
-OPENAI_API_KEY=''
+OPENAI_API_KEY=''
+
+# DO NOT TRACK
+SCARF_NO_ANALYTICS=true
+DO_NOT_TRACK=true