Created
August 3, 2022 09:41
-
-
Save jamespo/740705d55b752bd355961b6f7739a6e4 to your computer and use it in GitHub Desktop.
docker-compose file for change-detection including playwright
This file contains 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
version: '2' | |
services: | |
changedetection: | |
image: ghcr.io/dgtlmoon/changedetection.io | |
container_name: changedetection | |
hostname: changedetection | |
volumes: | |
- changedetection-data:/datastore | |
environment: | |
- PLAYWRIGHT_DRIVER_URL=ws://playwright-chrome:3000/?stealth=1&--disable-web-security=true | |
- PORT=5000 | |
- PUID=1000 | |
- PGID=1000 | |
ports: | |
- 5000:5000 | |
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 | |
volumes: | |
changedetection-data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment