Merge pull request #415 from zkhcohen/add-disk-io-reduction-to-docs

Add Disk Wear Reduction Recommendations
This commit is contained in:
Jakub Orchowski authored and GitHub committed 2026-10-07 00:23:31 +02:00
commit 35f373a44c
2 files changed
+15

No files matched your search

+10
View File
@@ -49,6 +49,16 @@ Recently I've partnered with a _new in town_ proxy service - ProxyBase - to offe
docker compose up -d
```
> [!WARNING]
> Byparr performs a *lot* of R/W operations on your disk. To reduce disk wear, it is recommended to allocate temp storage in RAM by adding the following snippet to your Docker Compose configuration:
>
> ```yaml
> shm_size: "1gb"
> tmpfs:
> - /tmp:exec,mode=1777,size=1G
> - /cache:mode=1777,size=512M
>```
### Docker install
1. Pull and run the image:
+5
View File
@@ -7,6 +7,11 @@ services:
build:
context: .
dockerfile: Dockerfile
shm_size: "1gb"
# Recommended to offload disk operations to RAM and reduce disk wear:
tmpfs:
- /tmp:exec,mode=1777,size=1G
- /cache:mode=1777,size=512M
# Uncomment below to use byparr outside of internal network
# ports:
# - "8191:8191"