show code js

顯示具有 anythingllm 標籤的文章。 顯示所有文章
顯示具有 anythingllm 標籤的文章。 顯示所有文章

2024年8月16日 星期五

anythingllm update(update 2024.09.23)

Get-New

  • docker pull mintplexlabs/anythingllm

Remove

  • docker remove old container

Run

  • docker run -d -p 3001:3001 --cap-add SYS_ADMIN -v C:/anythingllm/storage:/app/server/storage -v C:/anythingllm/env.txt:/app/server/.env -e STORAGE_DIR="/app/server/storage" --add-host=host.docker.internal:host-gateway --name anythingllm mintplexlabs/anythingllm
---------------------------------------
use github to pull to docker and update
  • git clone https://github.com/Mintplex-Labs/anything-llm
  • copy ./docker to ./anythingllm
  • into ./anything-llm/anythingllm and rename .env.example to .env
  • PS>docker compose up -d (--build)
change port number
  • .env
    SERVER_PORT=3001
  • docker-compose.yml
    ports:
    - "3001:3001"
change name
  • docker-compose.yml
    name: anythingllm
    container_name: anythingllm


2024年4月16日 星期二

AnythingLLM with Ollama

1.Install Ollama First

2.chroma install use docker

  • PS>> docker pull ghcr.io/chroma-core/chroma:0.4.24
  • PS>> docker run -p 8000:8000 ghcr.io/chroma-core/chroma:0.4.24

3.anythingllm install use docker

  • create directory C:/anythingllm/storage and file C:/anythingllm/env.txt
  • PS>> docker run -d -p 3001:3001 --cap-add SYS_ADMIN -v C:/anythingllm/storage:/app/server/storage -v C:/anythingllm/env.txt:/app/server/.env -e STORAGE_DIR="/app/server/storage" --add-host=host.docker.internal:host-gateway --name anythingllm mintplexlabs/anythingllm
  • Open localhost:3001, and config llm setting to use http://host.docker.internal:11434

2024/8/4

UPDATE
  • Stop anythingllm on docker
  • PS> docker pull mintplexlabs/anythingllm
  • Start anythingllm on docker