kopia lustrzana https://github.com/dgtlmoon/changedetection.io
Updated Fetching pages with WebDriver (markdown)
rodzic
7c54bd67d6
commit
b18b733d62
|
@ -17,19 +17,22 @@ The backend can be configured to fetch pages via Chrome using the built in [WebD
|
|||
|
||||
If using docker (instead of docker-compose) the following will get ChangeDetection.io and the chromium WebDriver up and running:
|
||||
```
|
||||
docker run -d \
|
||||
--name selenium \
|
||||
--restart unless-stopped \
|
||||
-p 4444:4444 \
|
||||
--shm-size="2g" \
|
||||
seleniarm/standalone-chromium
|
||||
|
||||
docker run -d \
|
||||
--name changedetection.io \
|
||||
--restart always \
|
||||
--restart unless-stopped \
|
||||
--link selenium \
|
||||
-p 5000:5000 \
|
||||
-e WEBDRIVER_URL="http://localhost:4444/wd/hub" \
|
||||
-v datastore-volume:/datastore \
|
||||
dgtlmoon/changedetection.io
|
||||
|
||||
docker run -d \
|
||||
--name selenium \
|
||||
-p 4444:4444 \
|
||||
--shm-size="2g" \
|
||||
seleniarm/standalone-chromium
|
||||
```
|
||||
|
||||
Then visit `/settings` and `[Fetching]` tab and enable the WebDriver/Chrome option
|
||||
|
|
Ładowanie…
Reference in New Issue