mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2025-03-15 09:50:20 +08:00
disable headless on docker
This commit is contained in:
parent
e858539ff9
commit
20331c5f9f
@ -25,6 +25,8 @@ RUN uv sync
|
||||
COPY . .
|
||||
RUN cd .venv/lib/*/site-packages/seleniumbase/drivers && ln -s /usr/bin/chromedriver uc_driver
|
||||
|
||||
ENV USE_HEADLESS=false
|
||||
|
||||
FROM base AS test
|
||||
|
||||
RUN uv sync --group test
|
||||
|
@ -25,10 +25,10 @@ An alternative to [FlareSolverr](https://github.com/FlareSolverr/FlareSolverr) a
|
||||
|
||||
## Options
|
||||
|
||||
| Env | Default | Description |
|
||||
| -------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `USE_XVFB` | `false` | Use virtual desktop with Xvfb. Requires Xvfb supported platform. (Can cause performance hog [#14](https://github.com/ThePhaseless/Byparr/issues/14)) |
|
||||
| `USE_HEADLESS` | `true` | Use headless chromium. |
|
||||
| Env | Default | Description |
|
||||
| -------------- | ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `USE_XVFB` | `false` | Use virtual desktop with Xvfb. Requires Xvfb supported platform. (Can cause performance hog [#14](https://github.com/ThePhaseless/Byparr/issues/14)) |
|
||||
| `USE_HEADLESS` | `true/false on docker` | Use headless chromium. |
|
||||
|
||||
## Tags
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user