Add docker compose (#1277)

Co-authored-by: philongn <philongn@theugroup.co>
Co-authored-by: Pablo Orgaz <pabloogc@gmail.com>
This commit is contained in:
Phi Long 2023-11-29 23:46:40 +08:00 committed by GitHub
parent 64ed9cd872
commit aabdb046ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions

14
docker-compose.yaml Normal file
View File

@ -0,0 +1,14 @@
services:
private-gpt:
build:
dockerfile: Dockerfile.local
volumes:
- ./local_data/:/home/worker/app/local_data
- ./models/:/home/worker/app/models
ports:
- 8001:8080
environment:
PORT: 8080
PGPT_PROFILES: docker
PGPT_MODE: local