Initial
This commit is contained in:
Executable
+35
@@ -0,0 +1,35 @@
|
||||
services:
|
||||
ollama:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: 4
|
||||
volumes:
|
||||
- ./data:/root/.ollama
|
||||
ports:
|
||||
- 9434:11434
|
||||
container_name: ollama
|
||||
image: ollama/ollama
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- OLLAMA_ORIGINS="*"
|
||||
- OLLAMA=SERVE
|
||||
- OLLAMA_KEEP_ALIVE=24
|
||||
- OLLAMA_NEW_ENGINE=true
|
||||
- OLLAMA_MAX_LOADED_MODELS=2
|
||||
open-webui:
|
||||
ports:
|
||||
- 9009:8080
|
||||
volumes:
|
||||
- ./data:/root/.ollama
|
||||
- ./open-webui:/app/backend/data
|
||||
environment:
|
||||
- GLOBAL_LOG_LEVEL=ERROR
|
||||
- PAPERLESS_URL=http://192.168.178.183:9800
|
||||
- PAPERLESS_API_TOKEN=e4581556a81b1ad64188c702ba713bb4bb531d86
|
||||
container_name: open-webui
|
||||
depends_on:
|
||||
- ollama
|
||||
restart: always
|
||||
image: ghcr.io/open-webui/open-webui:ollama
|
||||
networks: {}
|
||||
Reference in New Issue
Block a user