mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2026-11-10 11:08:20 +00:00
Enable shared memory and tmpfs in compose.yaml
This commit is contained in:
1 parent
73535a0f7e
commit
633ae677f7
1 file changed
+6
-7
+6
-7
@@ -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"
|
||||
Reference in new issue
Block a user