add an alternative to browserless, for lightweight servers

This commit is contained in:
Amruth Pillai
2026-01-21 23:24:37 +01:00
parent 4d72a953dd
commit 5d73998f82
9 changed files with 120 additions and 86 deletions
+16 -4
View File
@@ -27,12 +27,24 @@ services:
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
- QUEUED=10
- HEALTH=true
- MAX_CPU_PERCENT=90
- MAX_MEMORY_PERCENT=90
- QUEUED=5
- CONCURRENT=5
- CONCURRENT=20
- TOKEN=1234567890
healthcheck:
test:
["CMD", "curl", "-f", "http://localhost:3000/pressure?token=1234567890"]
interval: 10s
timeout: 5s
retries: 10
# As an alternative to browserless, you can also use a lightweight image like chromedp/headless-shell:latest
# See https://docs.rxresu.me/self-hosting/docker#alternative-printer-options for more information.
# chrome:
# image: chromedp/headless-shell:latest
# restart: unless-stopped
# ports:
# - "9222:9222"
seaweedfs:
image: chrislusf/seaweedfs:latest