Add my-docker-compose.yml
Some checks failed
Build and push containers / metadata (push) Has been cancelled
Build and push containers / build-push-containers (push) Has been cancelled
Publish Python 🐍distribution 📦 to PyPI and TestPyPI / Build distribution 📦 (push) Has been cancelled
Publish Python 🐍distribution 📦 to PyPI and TestPyPI / Test the built 📦 package works basically. (push) Has been cancelled
Publish Python 🐍distribution 📦 to PyPI and TestPyPI / Publish Python 🐍 distribution 📦 to PyPI (push) Has been cancelled
ChangeDetection.io App Test / lint-code (push) Has been cancelled
ChangeDetection.io App Test / test-application-3-10 (push) Has been cancelled
ChangeDetection.io App Test / test-application-3-11 (push) Has been cancelled
ChangeDetection.io App Test / test-application-3-12 (push) Has been cancelled
ChangeDetection.io App Test / test-application-3-13 (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled

Creation
This commit is contained in:
2025-05-20 19:05:18 -04:00
parent fcd6ebe0ee
commit 90079376a3

43
my-docker-compose.yml Normal file
View File

@@ -0,0 +1,43 @@
services:
changedetection:
image: ghcr.io/dgtlmoon/changedetection.io:latest
container_name: changedetection
hostname: changedetection
volumes:
- /opt/changedetection:/datastore
ports:
- 5000:5000
environment:
# - WEBDRIVER_URL=http://playwright-chrome:4444/wd/hub
- PLAYWRIGHT_DRIVER_URL=ws://playwright-chrome:3000
# - BASE_URL=https://mysite.com # configure this for your own domain
depends_on:
playwright-chrome:
condition: service_started
restart: unless-stopped
# browser-chrome:
# hostname: browser-chrome
# image: selenium/standalone-chrome:125.0
# shm_size: '2gb'
# # volumes:
# # # Workaround to avoid the browser crashing inside a docker container
# # # See https://github.com/SeleniumHQ/docker-selenium#quick-start
# # - /dev/shm:/dev/shm
# restart: unless-stopped
playwright-chrome:
hostname: playwright-chrome
image: browserless/chrome
restart: unless-stopped
environment:
- SCREEN_WIDTH=1920
- SCREEN_HEIGHT=1024
- SCREEN_DEPTH=16
- ENABLE_DEBUGGER=false
- PREBOOT_CHROME=true
- CONNECTION_TIMEOUT=300000
- MAX_CONCURRENT_SESSIONS=10
- CHROME_REFRESH_TIME=600000
- DEFAULT_BLOCK_ADS=true
- DEFAULT_STEALTH=true
- DEFAULT_IGNORE_HTTPS_ERRORS=true