Skip to content
Snippets Groups Projects
Unverified Commit 0d84244c authored by Cyber Link's avatar Cyber Link Committed by GitHub
Browse files

Update HOW_TO_USE_DOCKER.md (#1639)

Added docker compose file that can be used on stand alone docker or in docker swarm with some modifications.
parent b30dc1c9
No related branches found
No related tags found
No related merge requests found
......@@ -86,6 +86,49 @@ mintplexlabs/anythingllm;
</td>
</tr>
<tr>
<td> Docker Compose</td>
<td>
version: '3.8'
services:
anythingllm:
image: mintplexlabs/anythingllm
container_name: anythingllm
ports:
- "3001:3001"
cap_add:
- SYS_ADMIN
environment:
# Adjust for your environemnt
- STORAGE_DIR=/app/server/storage
- JWT_SECRET="make this a large list of random numbers and letters 20+"
- LLM_PROVIDER=ollama
- OLLAMA_BASE_PATH=http://127.0.0.1:11434
- OLLAMA_MODEL_PREF=llama2
- OLLAMA_MODEL_TOKEN_LIMIT=4096
- EMBEDDING_ENGINE=ollama
- EMBEDDING_BASE_PATH=http://127.0.0.1:11434
- EMBEDDING_MODEL_PREF=nomic-embed-text:latest
- EMBEDDING_MODEL_MAX_CHUNK_LENGTH=8192
- VECTOR_DB=lancedb
- WHISPER_PROVIDER=local
- TTS_PROVIDER=native
- PASSWORDMINCHAR=8
- AGENT_SERPER_DEV_KEY="SERPER DEV API KEY"
volumes:
- anythingllm_storage:/app/server/storage
restart: always
volumes:
anythingllm_storage:
driver: local
driver_opts:
type: none
o: bind
device: /path/on/local/disk
</td>
</tr>
</table>
Go to `http://localhost:3001` and you are now using AnythingLLM! All your data and progress will persist between
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment