diff --git a/README.md b/README.md index 2ae4f1b..7e0344e 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/compose.yaml b/compose.yaml index 3b659bf..21bff9c 100644 --- a/compose.yaml +++ b/compose.yaml @@ -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"