본문으로 이동
주 메뉴
주 메뉴
사이드바로 이동
숨기기
둘러보기
대문
최근 바뀜
임의의 문서로
미디어위키 도움말
특수 문서 목록
lse
검색
검색
보이기
계정 만들기
로그인
개인 도구
계정 만들기
로그인
로그아웃한 편집자를 위한 문서
더 알아보기
기여
토론
Deepseek
편집하기 (부분)
문서
토론
한국어
읽기
편집
원본 편집
역사 보기
도구
도구
사이드바로 이동
숨기기
동작
읽기
편집
원본 편집
역사 보기
일반
여기를 가리키는 문서
가리키는 글의 최근 바뀜
문서 정보
보이기
사이드바로 이동
숨기기
경고:
로그인하지 않았습니다. 편집을 하면 IP 주소가 공개되게 됩니다.
로그인
하거나
계정을 생성하면
편집자가 사용자 이름으로 기록되고, 다른 장점도 있습니다.
스팸 방지 검사입니다. 이것을 입력하지
마세요
!
==Web으로 서비스 연결하기== Ollama는 기본적으로 text 베이스의 프롬프트로 동작을 확인한다. 이것을 웹브라우저를 통해서 서비스하는 방법은 다른 어플리케이션을 이용한다. * [https://megastorage.tistory.com/507#4.1.%20%C2%A0%20Docker%20Desktop%20%EC%84%A4%EC%B9%98%C2%A0%C2%A0 Ollama 구성 full] * [https://karuru1007.tistory.com/317 Web ui 설치하기] * 설치 순서 # Docker Desktop 설치 - web ui 설치의 경우, docker container 자동 생성을 위해서 미리 설치 # [https://github.com/open-webui/open-webui Open Webui 설치] - local/Remote 및 GPU 설치 선택 # Docker Desktop에서 실행 ===Docker desktop 설치=== OS에 맞는 [https://docker.com Docker Desktop]를 선택하여 설치한다. [[file:docker_desktop_01.jpg|500px]] * 설치 과정 중에 에러 Ollama 설치 과정에서처럼 IIS 설정 (포트) 부분 에러 날 수 있다. 특히, hosts 파일을 docker desktop이 수정하므로 해당 파일 수정으로 인한 IIS 서비스가 먼저 기동될 수 있다. hosts 파일 수정된 부분 위치: C:\Windows\System32\drivers\etc\hosts <pre> # localhost name resolution is handled within DNS itself. 127.0.0.1 localhost ::1 localhost # Added by Docker Desktop 10.13.169.221 host.docker.internal 10.13.169.221 gateway.docker.internal # To allow the same kube context to work on the host and the container: 127.0.0.1 kubernetes.docker.internal # End of section </pre> 에러의 경우, 127.0.0.1 부분을 마스킹 해준다 apache를 사용하는 경우 (특히 xampp 사용하는 경우) 재부팅시, 다시 에러 나올 수 있음 - IIS 서비스가 먼저 기동 <pre> # localhost name resolution is handled within DNS itself. # 127.0.0.1 localhost # ::1 localhost </pre> ===Open Webui 설치=== [https://github.com/open-webui/open-webui open webui]로 접속해서, 설치 방법 확인 * 설치시 구분해야 하는 것 #) Ollama가 local에 설치 되어 있는 것 #) Ollama가 Remote에 설치 되어 있는 것 #) GPU 사용 여부 * Ollama가 local에 설치되어 있는 경우 docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main * Ollama가 Remote에 설치되어 있는 경우 '''OLLAMA_BASE_URL'''에 Remote의 주소를 부여한다. docker run -d -p 3000:8080 -e OLLAMA_BASE_URL=https://example.com -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main * GPU를 사용하는 경우: CUDA docker run -d -p 3000:8080 --gpus all --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:cuda * 기타 Single container image that bundles Open WebUI with Ollama, Utilize GPU resources by running the following command docker run -d -p 3000:8080 --gpus=all -v ollama:/root/.ollama -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:ollama * Docker Desktop에서 container로 올라간 것 확인 [[file:docker_desktop_02.jpg|600px]] * Open webui로 실행 [[file:open_webui_01.jpg|600px]]
요약:
lse에서의 모든 기여는 다른 기여자가 편집, 수정, 삭제할 수 있다는 점을 유의해 주세요. 만약 여기에 동의하지 않는다면, 문서를 저장하지 말아 주세요.
또한, 직접 작성했거나 퍼블릭 도메인과 같은 자유 문서에서 가져왔다는 것을 보증해야 합니다(자세한 사항은
Lse:저작권
문서를 보세요).
저작권이 있는 내용을 허가 없이 저장하지 마세요!
취소
편집 도움말
(새 창에서 열림)
검색
검색
Deepseek
편집하기 (부분)
새 주제