mirror of
				https://github.com/open-webui/open-webui
				synced 2025-06-26 18:26:48 +00:00 
			
		
		
		
	Added: Environment Variable ANONYMIZED_TELEMETRY=False to .env.example & Dockerfile files to prevent/disable the creation of telemetry_user_id file created by Chroma in Docker installation methods.
This commit is contained in:
		
							parent
							
								
									c9589e2118
								
							
						
					
					
						commit
						b763535c92
					
				| @ -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" | ||||
| @ -51,11 +51,12 @@ 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 | ||||
| ENV LITELLM_LOCAL_MODEL_COST_MAP="True" | ||||
| ENV LITELLM_LOCAL_MODEL_COST_MAP="true" | ||||
| 
 | ||||
| 
 | ||||
| #### Other models ######################################################### | ||||
| @ -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 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user