<!-- .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. --------- Signed-off-by: Diego B Theuerkauf <diego.theuerkauf@tuebingen.mpg.de> Co-authored-by: Igor Ilic <30923996+dexters1@users.noreply.github.com> Co-authored-by: Boris Arzentar <borisarzentar@gmail.com> Co-authored-by: Boris <boris@topoteretes.com> Co-authored-by: Igor Ilic <igorilic03@gmail.com> Co-authored-by: Hande <159312713+hande-k@users.noreply.github.com> Co-authored-by: Matea Pesic <80577904+matea16@users.noreply.github.com> Co-authored-by: hajdul88 <52442977+hajdul88@users.noreply.github.com> Co-authored-by: Daniel Molnar <soobrosa@gmail.com> Co-authored-by: Diego Baptista Theuerkauf <34717973+diegoabt@users.noreply.github.com> Co-authored-by: Dmitrii Galkin <36552323+dm1tryG@users.noreply.github.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: lxobr <122801072+lxobr@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
46 lines
889 B
YAML
46 lines
889 B
YAML
services:
|
|
cognee:
|
|
image : cognee-backend:latest
|
|
container_name: cognee-backend
|
|
networks:
|
|
- cognee-network
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
volumes:
|
|
- .:/app
|
|
- /app/cognee-frontend/ # Ignore frontend code
|
|
environment:
|
|
- HOST=0.0.0.0
|
|
- ENVIRONMENT=local
|
|
- PYTHONPATH=.
|
|
ports:
|
|
- 8000:8000
|
|
# - 5678:5678 # Debugging
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '4.0'
|
|
memory: 8GB
|
|
|
|
postgres:
|
|
image: pgvector/pgvector:pg17
|
|
container_name: postgres
|
|
environment:
|
|
POSTGRES_USER: cognee
|
|
POSTGRES_PASSWORD: cognee
|
|
POSTGRES_DB: cognee_db
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
ports:
|
|
- 5432:5432
|
|
networks:
|
|
- cognee-network
|
|
|
|
networks:
|
|
cognee-network:
|
|
name: cognee-network
|
|
|
|
volumes:
|
|
postgres_data:
|
|
|