Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| services:open-webui [2025/10/15 09:48] – willy | services: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 **/ |
| + | |||
| + | so add user and create folders: | ||
| <code bash> | <code bash> | ||
| useradd -d / | useradd -d / | ||
| + | mkdir /data/llm | ||
| + | chown openwebui: | ||
| su - openwebui | su - openwebui | ||
| + | cd /data/llm | ||
| mkdir webui-data | mkdir webui-data | ||
| mkdir ollama | mkdir ollama | ||
| Line 33: | Line 38: | ||
| - " | - " | ||
| volumes: | volumes: | ||
| - | - ./ | + | - /data/llm/ |
| networks: | networks: | ||
| - openwebui-net | - openwebui-net | ||
| Line 42: | Line 47: | ||
| - 3081:11434 | - 3081:11434 | ||
| volumes: | volumes: | ||
| - | - ./ | + | - /data/llm/ |
| - | - ./ | + | - /data/llm/ |
| container_name: | container_name: | ||
| pull_policy: | pull_policy: | ||