mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2026-11-10 11:08:20 +00:00
docs: stop recommending a tmpfs over /cache
/cache holds the browser baked into the image. A tmpfs over it hides that browser, so Byparr downloads it again on every start (the cause behind #439). Also move shm_size and tmpfs in compose.yaml out of the build section, where they never applied to the running container.
This commit is contained in:
1 parent
b041dd2998
commit
c18a7aa77e
2 files changed
+7
-6
No files matched your search
@@ -71,8 +71,9 @@ docker compose up -d
|
||||
> shm_size: "1gb"
|
||||
> tmpfs:
|
||||
> - /tmp:exec,mode=1777,size=1G
|
||||
> - /cache:mode=1777,size=512M
|
||||
>```
|
||||
>
|
||||
> Do not mount a tmpfs over `/cache`: it holds the browser baked into the image, and hiding it makes Byparr download it again on every start.
|
||||
|
||||
### Docker install
|
||||
|
||||
|
||||
+5
-5
@@ -7,11 +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
|
||||
shm_size: "1gb"
|
||||
# Recommended to offload disk operations to RAM and reduce disk wear.
|
||||
# Leave /cache on the image: it holds the baked-in browser.
|
||||
tmpfs:
|
||||
- /tmp:exec,mode=1777,size=1G
|
||||
# Uncomment below to use byparr outside of internal network
|
||||
# ports:
|
||||
# - "8191:8191"
|
||||
Reference in new issue
Block a user