feat(docker): set default Docker to use Ollama (#1812)

This commit is contained in:
Marco Repetto 2024-04-01 13:08:48 +02:00 committed by GitHub
parent 087cb0b7b7
commit f83abff8bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 18 additions and 4 deletions

View file

@ -1,13 +1,16 @@
services:
private-gpt:
build:
dockerfile: Dockerfile.local
dockerfile: Dockerfile.external
volumes:
- ./local_data/:/home/worker/app/local_data
- ./models/:/home/worker/app/models
ports:
- 8001:8080
environment:
PORT: 8080
PGPT_PROFILES: docker
PGPT_MODE: llamacpp
PGPT_MODE: ollama
ollama:
image: ollama/ollama:latest
volumes:
- ./models:/root/.ollama