53 lines
1.5 KiB
YAML
53 lines
1.5 KiB
YAML
name: tools
|
|
|
|
services:
|
|
changedetection:
|
|
image: ghcr.io/dgtlmoon/changedetection.io:latest
|
|
container_name: changedetection
|
|
hostname: changedetection
|
|
labels:
|
|
- glance.name=Changedetection
|
|
- glance.icon=sh:changedetection
|
|
- glance.url=http://192.168.0.249:5001
|
|
- glance.description=Website change detection
|
|
- glance.id=changedetection
|
|
|
|
volumes:
|
|
- $PWD:/datastore
|
|
ports:
|
|
- 5001:5000
|
|
environment:
|
|
- WEBDRIVER_URL=http://192.168.0.248:4444/wd/hub
|
|
# - PLAYWRIGHT_DRIVER_URL=ws://192.168.0.248:3000
|
|
# - BASE_URL=https://mysite.com # configure this for your own domain
|
|
|
|
depends_on:
|
|
browser-chrome:
|
|
# playwright-chrome:
|
|
condition: service_started
|
|
restart: unless-stopped
|
|
|
|
browser-chrome:
|
|
container_name: browser-chrome
|
|
labels:
|
|
- glance.name=browser-chrome
|
|
- glance.icon=sh:browser
|
|
- glance.url=http://192.168.0.249:4444
|
|
- glance.description=Browser for detection
|
|
- glance.id=browser-chrome
|
|
hostname: browser-chrome
|
|
# image: selenium/standalone-chrome:latest
|
|
image: selenium/standalone-firefox:4.30.0-20250323
|
|
shm_size: '2gb'
|
|
environment:
|
|
- TOKEN=${SELENIUM_TOKEN}
|
|
ports:
|
|
- 4444:4444
|
|
- 7900:7900
|
|
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
|
|
|