<!-- .github/pull_request_template.md --> ## Description <!-- Provide a clear description of the changes in this PR --> ## DCO Affirmation I affirm that all code in every commit of this pull request conforms to the terms of the Topoteretes Developer Certificate of Origin <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a Helm-based deployment package that streamlines setup for the backend application and PostgreSQL database on Kubernetes. - Added orchestration support via Docker Compose for managing multi-container deployments. - Added new Kubernetes resources including Deployments, Services, and PersistentVolumeClaims for both the backend and PostgreSQL. - **Documentation** - Provided comprehensive infrastructure and deployment instructions for Kubernetes environments. - **Chores** - Established a standardized container build process for the Python application. - Introduced configuration settings for service ports, resource limits, and environment variables. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Daniel Molnar <soobrosa@gmail.com> Co-authored-by: Boris <boris@topoteretes.com>
22 lines
524 B
YAML
22 lines
524 B
YAML
# Configuration for the 'cognee' application service
|
||
cognee:
|
||
# Image name (using the local image we’ll build in Minikube)
|
||
image: "hajdul1988/cognee-backend:latest"
|
||
port: 8000
|
||
env:
|
||
HOST: "0.0.0.0"
|
||
ENVIRONMENT: "local"
|
||
PYTHONPATH: "."
|
||
resources:
|
||
cpu: "4.0"
|
||
memory: "8Gi"
|
||
|
||
# Configuration for the 'postgres' database service
|
||
postgres:
|
||
image: "pgvector/pgvector:pg17"
|
||
port: 5432
|
||
env:
|
||
POSTGRES_USER: "cognee"
|
||
POSTGRES_PASSWORD: "cognee"
|
||
POSTGRES_DB: "cognee_db"
|
||
storage: "8Gi"
|