mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-05-16 12:19:45 +00:00
On branch release/vinnimous_1.0
Changes to be committed: new file: Jenkinsfile modified: docker-compose.yaml
This commit is contained in:
parent
1efac6a3fe
commit
41b355a77c
24
Jenkinsfile
vendored
Normal file
24
Jenkinsfile
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
@Library("security_stages") _
|
||||
|
||||
pipeline {
|
||||
agent any
|
||||
stages {
|
||||
stage('Setup') { // Install any dependencies you need to perform testing
|
||||
steps {
|
||||
script {
|
||||
sh """
|
||||
python3 -m venv ./venv
|
||||
. ./venv/bin/activate
|
||||
pip install poetry
|
||||
poetry install --extras "ui vector-stores-qdrant" --no-root
|
||||
"""
|
||||
}
|
||||
}
|
||||
}
|
||||
stage ("Attempting security stages") {
|
||||
steps {
|
||||
shared()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -2,13 +2,22 @@ services:
|
||||
private-gpt:
|
||||
build:
|
||||
dockerfile: Dockerfile.local
|
||||
|
||||
volumes:
|
||||
- ./local_data/:/home/worker/app/local_data
|
||||
- ./models/:/home/worker/app/models
|
||||
- /srv/dev-disk-by-uuid-17681c56-e3a1-4eb9-95da-2196a64acca3/configs/privateGPT/local_data/conf:/home/worker/app/local_data
|
||||
- /srv/dev-disk-by-uuid-17681c56-e3a1-4eb9-95da-2196a64acca3/configs/privateGPT/models/:/home/worker/app/models
|
||||
networks:
|
||||
- gpt-net
|
||||
ports:
|
||||
- 8001:8080
|
||||
- 80:80
|
||||
restart: on-failure
|
||||
environment:
|
||||
PORT: 8080
|
||||
PORT: 80
|
||||
PGPT_PROFILES: docker
|
||||
PGPT_MODE: local
|
||||
|
||||
networks:
|
||||
gpt-net:
|
||||
name: macvlan0
|
||||
driver: macvlan
|
||||
external: true
|
||||
|
Loading…
Reference in New Issue
Block a user