diff --git a/.gitignore b/.gitignore index ef5db3b..edb9577 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ ollama_models -chroma_db_data \ No newline at end of file +postgres_db +chroma_db \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 1ee741f..4996816 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,6 +9,8 @@ services: - POSTGRES_DB=chroma - CHROMA_SERVER_HOST=0.0.0.0 - CHROMA_SERVER_HTTP_PORT=8000 + volumes: + - ./chroma_db:/data depends_on: - chroma-db @@ -20,7 +22,7 @@ services: POSTGRES_DB: chroma PGDATA: /var/lib/postgresql/data/pgdata volumes: - - ./chroma_db_data:/var/lib/postgresql/data + - ./postgres_db:/var/lib/postgresql/data ollama: image: ollama/ollama:latest