{"id":2110,"date":"2025-06-08T21:49:11","date_gmt":"2025-06-08T12:49:11","guid":{"rendered":"https:\/\/rfsec.ddns.net\/db\/?p=2110"},"modified":"2025-06-20T13:19:39","modified_gmt":"2025-06-20T04:19:39","slug":"mac%e3%81%a7%e7%a8%bc%e5%83%8d%e4%b8%ad%e3%81%aeollama%e3%82%92pc%e4%b8%8a%e3%81%aeopenwebui%e3%81%8b%e3%82%89%e6%8e%a5%e7%b6%9a","status":"publish","type":"post","link":"https:\/\/rfsec.ddns.net\/db\/?p=2110","title":{"rendered":"mac\u3067\u7a3c\u50cd\u4e2d\u306eollama\u3092PC\u4e0a\u306eOpenWebUi\u304b\u3089\u63a5\u7d9a"},"content":{"rendered":"\n<p>Mac\u3067ollama\u3092\u8d77\u52d5<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>$export OLLAMA_HOST=0.0.0.0:11434\n$ollama serve<\/code><\/pre><\/div>\n\n\n\n<p><strong>PC\u306eOpenwebui(docker)\u3092\u8d77\u52d5<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>docker run -d --name mac-webui -p 3000:8080 -e OLLAMA_BASE_URL=http:\/\/192.168.40.17:11434 -e RAG_EMBEDDING_ENGINE=ollama -e RAG_EMBEDDING_MODEL=bge-m3:567m -v mac-webui:\/app\/backend\/data ghcr.io\/open-webui\/open-webui:main<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u52d5\u4f5c\u78ba\u8a8d<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>2. Open WebUI\u8a2d\u5b9a\u78ba\u8a8d\nOpen WebUI\u306e\u7ba1\u7406\u753b\u9762\u3067\uff1a\n\nSettings \u2192 Admin Settings \u2192 Connections\nOllama Base URL\u304c\u6b63\u3057\u304f\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\n\u300cTest Connection\u300d\u30dc\u30bf\u30f3\u3067\u63a5\u7d9a\u30c6\u30b9\u30c8<\/code><\/pre><\/div>\n\n\n\n<p>RAG\u3067\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u5834\u6240\u3000docker\u3092\u8d77\u52d5\u5f8c\u306b\u898b\u3048\u308b<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>3. \u30db\u30b9\u30c8PC\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u65b9\u6cd5\u3000\u30a8\u30af\u30b9\u30d7\u30ed\u30fc\u30e9\u30fc\u306e\u30a2\u30c9\u30ec\u30b9\u30d0\u30fc\u306b\n\n\\\\wsl$\\docker-desktop\\mnt\\docker-desktop-disk\\data\\docker\\volumes\\open-webui\\_data\\uploads\\<\/code><\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Mac\u3067ollama\u3092\u8d77\u52d5 PC\u306eOpenwebui(docker)\u3092\u8d77\u52d5 \u52d5\u4f5c\u78ba\u8a8d RAG\u3067\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u5834\u6240\u3000docker\u3092\u8d77\u52d5\u5f8c\u306b\u898b\u3048\u308b<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-2110","post","type-post","status-publish","format-standard","hentry","category-llm"],"featured_image_src":null,"author_info":{"display_name":"mars","author_link":"https:\/\/rfsec.ddns.net\/db\/?author=1"},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=\/wp\/v2\/posts\/2110","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2110"}],"version-history":[{"count":4,"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=\/wp\/v2\/posts\/2110\/revisions"}],"predecessor-version":[{"id":2122,"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=\/wp\/v2\/posts\/2110\/revisions\/2122"}],"wp:attachment":[{"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2110"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2110"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rfsec.ddns.net\/db\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2110"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}