On branch release/vinnimous_1.0

Changes to be committed:
	new file:   Jenkinsfile
	modified:   docker-compose.yaml
This commit is contained in:
vinnimous 2024-03-18 16:28:34 -04:00
parent 1efac6a3fe
commit 41b355a77c
2 changed files with 37 additions and 4 deletions

24
Jenkinsfile vendored Normal file
View 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()
}
}
}
}

View File

@ -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