playwright / .env.example
cv3inx's picture
Bundle turnstile-solver in the project (no external URL needed)
f26e640
Raw
History Blame Contribute Delete
854 Bytes
# Copy to .env on the VPS and edit. docker-compose reads it automatically.
# Host port to bind. The container listens on 7860 internally.
HOST_PORT=7860
# Per-request timeout in milliseconds. Default 30 minutes.
TIMEOUT_MS=1800000
# Resource caps (tune to your VPS).
CPU_LIMIT=4.0
MEM_LIMIT=8g
# Number of concurrent Camoufox workers in the bundled turnstile-solver.
SOLVER_WORKERS=8
# Whisper model used for audio CAPTCHA transcription. tiny.en is the fastest;
# upgrade to base.en for accuracy on noisy challenges.
WHISPER_MODEL=Xenova/whisper-tiny.en
# Override the bundled solver URL only if you want to point at a remote one.
# By default docker-compose wires playwright-api → turnstile-solver internally
# and HF Space's all-in-one image runs both side by side at 127.0.0.1:9988,
# so leaving this unset is correct.
# TURNSTILE_SOLVER_URL=