changedetection: add webdriver
This commit is contained in:
parent
89707953aa
commit
27383ce7fc
|
@ -4,13 +4,22 @@
|
||||||
changedetection:
|
changedetection:
|
||||||
image: dgtlmoon/changedetection.io
|
image: dgtlmoon/changedetection.io
|
||||||
container_name: changedetection
|
container_name: changedetection
|
||||||
|
depends_on:
|
||||||
|
- chrome
|
||||||
user: ${PUID}:${PGID}
|
user: ${PUID}:${PGID}
|
||||||
environment:
|
environment:
|
||||||
- TZ=${TZ}
|
- TZ=${TZ}
|
||||||
- BASE_URL=changes.kucharczyk.xyz
|
- BASE_URL=changes.kucharczyk.xyz
|
||||||
|
- WEBDRIVER_URL="http://selenium:4444/wd/hub"
|
||||||
volumes:
|
volumes:
|
||||||
- "${DOCKER_STORAGE_PATH}/changedetection/data:/datastore"
|
- "${DOCKER_STORAGE_PATH}/changedetection/data:/datastore"
|
||||||
ports:
|
ports:
|
||||||
- "${CHANGEDETECTION_EXTERNAL_PORT}:${CHANGEDETECTION_INTERNAL_PORT}"
|
- "${CHANGEDETECTION_EXTERNAL_PORT}:${CHANGEDETECTION_INTERNAL_PORT}"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
chrome:
|
||||||
|
image: selenium/standalone-chrome-debug:3.141.59
|
||||||
|
container_name: selenium
|
||||||
|
ports:
|
||||||
|
- "4444:4444"
|
||||||
|
shm_size: '2g'
|
||||||
|
|
Loading…
Reference in New Issue