abc1181 commited on
Commit
f2291b8
Β·
verified Β·
1 Parent(s): 2347adc

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -6
Dockerfile CHANGED
@@ -1,6 +1,6 @@
1
  FROM ghcr.io/open-webui/open-webui:main
2
 
3
- ENV WEBUI_AUTH=False
4
  ENV WEBUI_SECRET_KEY=obsidian-secret-key
5
 
6
  ENV OPENAI_API_BASE_URL=https://abc1181-ollama-tools.hf.space/v1
@@ -12,18 +12,18 @@ ENV DEFAULT_MODELS="Obsidian Fast ⚑"
12
  # βœ… Disable RAG embedding model β€” biggest RAM saver
13
  ENV RAG_EMBEDDING_ENGINE=openai
14
  ENV RAG_EMBEDDING_MODEL=text-embedding-3-small
15
- ENV ENABLE_RAG_WEB_SEARCH=False
16
- ENV ENABLE_RAG_LOCAL_WEB_FETCH=False
17
 
18
  # βœ… Disable other heavy features
19
- ENV ENABLE_IMAGE_GENERATION=False
20
  ENV ENABLE_COMMUNITY_SHARING=False
21
  ENV ENABLE_TELEMETRY=False
22
 
23
  # βœ… Disable automatic model downloads
24
- ENV OFFLINE_MODE=True
25
 
26
- ENV DATA_DIR=/app/backend/data
27
 
28
  EXPOSE 8080
29
  # βœ… Fixed β€” use the image's own startup script, not uvicorn directly
 
1
  FROM ghcr.io/open-webui/open-webui:main
2
 
3
+ ENV WEBUI_AUTH=True
4
  ENV WEBUI_SECRET_KEY=obsidian-secret-key
5
 
6
  ENV OPENAI_API_BASE_URL=https://abc1181-ollama-tools.hf.space/v1
 
12
  # βœ… Disable RAG embedding model β€” biggest RAM saver
13
  ENV RAG_EMBEDDING_ENGINE=openai
14
  ENV RAG_EMBEDDING_MODEL=text-embedding-3-small
15
+ ENV ENABLE_RAG_WEB_SEARCH=True
16
+ ENV ENABLE_RAG_LOCAL_WEB_FETCH=True
17
 
18
  # βœ… Disable other heavy features
19
+ ENV ENABLE_IMAGE_GENERATION=True
20
  ENV ENABLE_COMMUNITY_SHARING=False
21
  ENV ENABLE_TELEMETRY=False
22
 
23
  # βœ… Disable automatic model downloads
24
+ ENV OFFLINE_MODE=False
25
 
26
+ ENV DATA_DIR=/data
27
 
28
  EXPOSE 8080
29
  # βœ… Fixed β€” use the image's own startup script, not uvicorn directly