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)
- .env
SERVER_PORT=3001 - docker-compose.yml
ports:
- "3001:3001"
- docker-compose.yml
name: anythingllm
container_name: anythingllm
沒有留言:
張貼留言