Skip to content

Commit

Permalink
disable headless on docker
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePhaseless committed Jan 2, 2025
1 parent e858539 commit 20331c5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 20331c5

Please sign in to comment.