mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2026-11-10 11:08:20 +00:00
/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.
18 lines
499 B
YAML
18 lines
499 B
YAML
services:
|
|
byparr:
|
|
image: ghcr.io/thephaseless/byparr:latest
|
|
restart: unless-stopped
|
|
# environment:
|
|
# LOG_LEVEL: debug
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
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"
|