Created
September 7, 2022 13:26
-
-
Save bgulla/177181708a9895c8abc6eb9fda7dc184 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
mkdir -p /opt/docker/{data,config,dockerfiles} | |
CONTAINER_NAME="changedetectionio" | |
DATA_DIR=/opt/docker/data/${CONTAINER_NAME} | |
docker rm --force selenium changedetectionio playwright-chrome | |
docker run -d \ | |
--name selenium \ | |
--restart unless-stopped \ | |
-p 4444:4444 \ | |
--shm-size="2g" \ | |
selenium/standalone-chrome-debug:3.141.59 | |
docker run -d \ | |
--name playwright-chrome \ | |
-p 3000:3000 \ | |
-t browserless/chrome | |
docker run -d \ | |
--name ${CONTAINER_NAME} \ | |
--restart unless-stopped \ | |
--link selenium \ | |
--link playwright-chrome \ | |
-p 5000:5000 \ | |
-e WEBDRIVER_URL="http://selenium:4444/wd/hub" \ | |
-e "PLAYWRIGHT_DRIVER_URL=ws://playwright-chrome:3000/?stealth=1&--disable-web-security=true" \ | |
-v ${DATA_DIR}/datastore \ | |
dgtlmoon/changedetection.io | |
docker logs -f playwright-chrome |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment