Raise threshold of disk space warning on local machine


I have a small issue with Weaviate Instance running locally in Docker Container. I use Docker bind mount for data and backups and when Weaviate checks disk space for these directories it gets percentage of the host machine disk space. The problem is I run on 256GB SSD and have about 10GB of free space so Weaviate freaks out that it’s +90% and goes into READ_ONLY mode.

Can I raise this disk space threshold or disable the check when running locally?

Hi @kokogrr - I believe DISK_USE_READONLY_PERCENTAGE is the environment variable to adjust.

Please take a look here: Persistence | Weaviate - vector database

I hope that helps! :slight_smile:

1 Like

Thank you, I think that’s exactly what I needed. :slight_smile: