Enable shared memory and tmpfs in compose.yaml

This commit is contained in:
Jakub Orchowski authored and GitHub committed 2026-10-07 00:21:09 +02:00
1 parent 73535a0f7e
commit 633ae677f7
1 file changed
+6 -7
+6 -7
View File
@@ -7,12 +7,11 @@ services:
build:
context: .
dockerfile: Dockerfile
# Uncomment below to offload disk operations to RAM and reduce disk wear:
# mem_limit: 3g
# shm_size: "1gb"
# tmpfs:
# - /tmp:exec,mode=1777,size=1G
# - /cache:mode=1777,size=512M
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"
# - "8191:8191"