mirror of
https://github.com/zylon-ai/private-gpt.git
synced 2025-12-22 23:22:57 +01:00
* chore: update ollama (llm) * feat: allow to autopull ollama models * fix: mypy * chore: install always ollama client * refactor: check connection and pull ollama method to utils * docs: update ollama config with autopulling info ...
19 lines
399 B
YAML
19 lines
399 B
YAML
services:
|
|
private-gpt:
|
|
build:
|
|
dockerfile: Dockerfile.external
|
|
volumes:
|
|
- ./local_data/:/home/worker/app/local_data
|
|
ports:
|
|
- 8001:8001
|
|
environment:
|
|
PORT: 8001
|
|
PGPT_PROFILES: docker
|
|
PGPT_MODE: ollama
|
|
PGPT_EMBED_MODE: ollama
|
|
ollama:
|
|
image: ollama/ollama:latest
|
|
ports:
|
|
- 11434:11434
|
|
volumes:
|
|
- ./models:/root/.ollama
|