forked from Archives/langchain
Persist Volume After Stop (#4763)
Previously, the data would be removed after shutting down the server. This mounts a db volume that isn't erased between calls
This commit is contained in:
parent
a7af32c274
commit
fc0a3c8500
@ -42,5 +42,9 @@ services:
|
|||||||
- POSTGRES_PASSWORD=postgres
|
- POSTGRES_PASSWORD=postgres
|
||||||
- POSTGRES_USER=postgres
|
- POSTGRES_USER=postgres
|
||||||
- POSTGRES_DB=postgres
|
- POSTGRES_DB=postgres
|
||||||
|
volumes:
|
||||||
|
- langchain-db-data:/var/lib/postgresql/data
|
||||||
ports:
|
ports:
|
||||||
- 5433:5432
|
- 5433:5432
|
||||||
|
volumes:
|
||||||
|
langchain-db-data:
|
||||||
|
Loading…
Reference in New Issue
Block a user