File tree Expand file tree Collapse file tree 1 file changed +3
-26
lines changed Expand file tree Collapse file tree 1 file changed +3
-26
lines changed Original file line number Diff line number Diff line change 1- # Use to test langchain-postgres
2- version : " 3"
31name : langchain-postgres
42
53services :
6- postgres :
7- image : postgres:16
8- environment :
9- POSTGRES_DB : langchain
10- POSTGRES_USER : langchain
11- POSTGRES_PASSWORD : langchain
12- ports :
13- - " 6023:5432"
14- command : |
15- postgres -c log_statement=all
16- healthcheck :
17- test :
18- [
19- " CMD-SHELL" ,
20- " psql postgresql://langchain:langchain@localhost/langchain --command 'SELECT 1;' || exit 1" ,
21- ]
22- interval : 5s
23- retries : 60
24- volumes :
25- - postgres_data:/var/lib/postgresql/data
264 pgvector :
275 # postgres with the pgvector extension
28- image : ankane /pgvector
6+ image : pgvector /pgvector:pg16
297 environment :
308 POSTGRES_DB : langchain
319 POSTGRES_USER : langchain
@@ -43,8 +21,7 @@ services:
4321 interval : 5s
4422 retries : 60
4523 volumes :
46- - postgres_data_pgvector :/var/lib/postgresql/data
24+ - postgres_data_pgvector_16 :/var/lib/postgresql/data
4725
4826volumes :
49- postgres_data :
50- postgres_data_pgvector :
27+ postgres_data_pgvector_16 :
You can’t perform that action at this time.
0 commit comments