User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
services:open-webui [2025/10/15 09:48] willyservices:open-webui [2025/10/15 11:51] (current) willy
Line 9: Line 9:
 ===== Installation ===== ===== Installation =====
  
-To install Open WebUI, of course, you need it's dedicated user, so add user:+To install Open WebUI, of course, you need it's dedicated user, and you will also need some persistent folders to map as volumes in the containers. I choose to put these folders under **/data/llm**. 
 + 
 +so add user and create folders:
 <code bash> <code bash>
 useradd -d /data/daemons/openwebui -m openwebui useradd -d /data/daemons/openwebui -m openwebui
 +mkdir /data/llm
 +chown openwebui:openwebui /data/llm
 su - openwebui su - openwebui
 +cd /data/llm
 mkdir webui-data mkdir webui-data
 mkdir ollama mkdir ollama
Line 33: Line 38:
       - "3080:8080"       - "3080:8080"
     volumes:     volumes:
-      - ./webui-data:/app/backend/data+      - /data/llm/webui-data:/app/backend/data
     networks:     networks:
       - openwebui-net       - openwebui-net
Line 42: Line 47:
       - 3081:11434       - 3081:11434
     volumes:     volumes:
-      - ./ollama/code:/code +      - /data/llm/ollama/code:/code 
-      - ./ollama/ollama:/root/.ollama+      - /data/llm/ollama/ollama:/root/.ollama
     container_name: ollama     container_name: ollama
     pull_policy: always     pull_policy: always