[changedetection] Update browserless comment (#2323)

* Update docker-compose.yml

Update commented-out configuration for Playwright

* Missing comments
This commit is contained in:
William Bout 2024-01-29 10:31:55 -08:00 committed by GitHub
parent c51687f617
commit c86d94b873
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,47 +1,61 @@
version: "3.7" version: "3.7"
services: services:
changedetection: changedetection:
image: ghcr.io/dgtlmoon/changedetection.io:0.45.13 image: ghcr.io/dgtlmoon/changedetection.io:0.45.13
container_name: changedetection container_name: changedetection
hostname: changedetection hostname: changedetection
volumes: volumes:
- ${APP_DATA_DIR}/data:/datastore - ${APP_DATA_DIR}/data:/datastore
ports: ports:
- ${APP_PORT}:5000 - ${APP_PORT}:5000
restart: unless-stopped restart: unless-stopped
networks: networks:
- tipi_main_network - tipi_main_network
labels: # environment:
# Main # - PLAYWRIGHT_DRIVER_URL=ws://playwright-chrome:3000/
traefik.enable: true labels:
traefik.http.middlewares.changedetection-web-web-redirect.redirectscheme.scheme: https # Main
traefik.http.services.changedetection-web.loadbalancer.server.port: 5000 traefik.enable: true
# Web traefik.http.middlewares.changedetection-web-web-redirect.redirectscheme.scheme: https
traefik.http.routers.changedetection-web-insecure.rule: Host(`${APP_DOMAIN}`) traefik.http.services.changedetection-web.loadbalancer.server.port: 5000
traefik.http.routers.changedetection-web-insecure.entrypoints: web # Web
traefik.http.routers.changedetection-web-insecure.service: changedetection-web traefik.http.routers.changedetection-web-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.changedetection-web-insecure.middlewares: changedetection-web-web-redirect traefik.http.routers.changedetection-web-insecure.entrypoints: web
# Websecure traefik.http.routers.changedetection-web-insecure.service: changedetection-web
traefik.http.routers.changedetection-web.rule: Host(`${APP_DOMAIN}`) traefik.http.routers.changedetection-web-insecure.middlewares: changedetection-web-web-redirect
traefik.http.routers.changedetection-web.entrypoints: websecure # Websecure
traefik.http.routers.changedetection-web.service: changedetection-web traefik.http.routers.changedetection-web.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.changedetection-web.tls.certresolver: myresolver traefik.http.routers.changedetection-web.entrypoints: websecure
# Local domain traefik.http.routers.changedetection-web.service: changedetection-web
traefik.http.routers.changedetection-web-local-insecure.rule: Host(`changedetection-web.${LOCAL_DOMAIN}`) traefik.http.routers.changedetection-web.tls.certresolver: myresolver
traefik.http.routers.changedetection-web-local-insecure.entrypoints: web # Local domain
traefik.http.routers.changedetection-web-local-insecure.service: changedetection-web traefik.http.routers.changedetection-web-local-insecure.rule: Host(`changedetection-web.${LOCAL_DOMAIN}`)
traefik.http.routers.changedetection-web-local-insecure.middlewares: changedetection-web-web-redirect traefik.http.routers.changedetection-web-local-insecure.entrypoints: web
# Local domain secure traefik.http.routers.changedetection-web-local-insecure.service: changedetection-web
traefik.http.routers.changedetection-web-local.rule: Host(`changedetection-web.${LOCAL_DOMAIN}`) traefik.http.routers.changedetection-web-local-insecure.middlewares: changedetection-web-web-redirect
traefik.http.routers.changedetection-web-local.entrypoints: websecure # Local domain secure
traefik.http.routers.changedetection-web-local.service: changedetection-web traefik.http.routers.changedetection-web-local.rule: Host(`changedetection-web.${LOCAL_DOMAIN}`)
traefik.http.routers.changedetection-web-local.tls: true traefik.http.routers.changedetection-web-local.entrypoints: websecure
traefik.http.routers.changedetection-web-local.service: changedetection-web
traefik.http.routers.changedetection-web-local.tls: true
# playwright-chrome:
# chnagedetection-chrome: # hostname: playwright-chrome
# hostname: chnagedetection-chrome # container_name: playwright-chrome
# image: browserless/chrome:latest # image: browserless/chrome
# restart: unless-stopped # restart: unless-stopped
# container_name: chnagedetection-chrome # networks:
# networks: # - tipi_main_network
# - tipi_main_network # ports:
# - 1337:3000
# 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