Describe the bug
wasn't sure if this is really a defect, still thought may be useful if someone comes across this.
The PGDATA env variable in the postgresql docker image refers to "/var/lib/postgresql/data" whereas in docker-compose.yml the mount volume points to "/var/lib/psql/data". Noticed that the data is not persisted.
Error message
no error message, Annotation data is not persisted across restarts
Expected behavior
Annotated Data should be available after a restart
Additional context
Had to change the volume as below in docker-compose.yml for the data to be persisted
volumes:
- ./postgres-data: /var/lib/postgresql/data
To Reproduce
Steps to reproduce the behavior
docker compose up (Annotation tool)
System:
- OS: NA
- GPU/CPU: NA
- Haystack version (commit or version number): NA
- DocumentStore: NA
- Reader: NA
- Retriever: NA
Describe the bug
wasn't sure if this is really a defect, still thought may be useful if someone comes across this.
The PGDATA env variable in the postgresql docker image refers to "/var/lib/postgresql/data" whereas in docker-compose.yml the mount volume points to "/var/lib/psql/data". Noticed that the data is not persisted.
Error message
no error message, Annotation data is not persisted across restarts
Expected behavior
Annotated Data should be available after a restart
Additional context
Had to change the volume as below in docker-compose.yml for the data to be persisted
volumes:
- ./postgres-data: /var/lib/postgresql/data
To Reproduce
Steps to reproduce the behavior
docker compose up (Annotation tool)
System: