Skip to content

Commit d4c2303

Browse files
authored
Persist FAISS index using Docker volume (#205)
1 parent 47743b6 commit d4c2303

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docker-compose.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ services:
3636
depends_on:
3737
postgres:
3838
condition: service_healthy
39+
volumes:
40+
- faiss_data:/ORAssistant-backend/faiss_db
3941
networks:
4042
- orassistant-network
4143
healthcheck:
@@ -64,3 +66,5 @@ networks:
6466
volumes:
6567
postgres_data:
6668
driver: local
69+
faiss_data:
70+
driver: local

0 commit comments

Comments
 (0)