steveternet/nuc/changedetection/docker-compose.yml

54 lines
1.3 KiB
YAML
Raw Normal View History

2023-12-24 18:54:49 +00:00
version: '3.8'
services:
changedetection:
image: dgtlmoon/changedetection.io
container_name: changedetection
volumes:
- changedetection_data:/datastore
environment:
- DOMAIN_ROOT=${DOMAIN_ROOT}
- PORT=5000
- PUID=${USER_ID}
- PGID=${GROUP_ID}
2024-03-16 23:21:15 +00:00
- PLAYWRIGHT_DRIVER_URL=ws://playwright:3000/
2023-12-24 18:54:49 +00:00
- BASE_URL="https://changedetection.${DOMAIN_ROOT}"
labels:
- "traefik.enable=true"
- 'traefik.http.routers.changedetection.rule=Host(`changedetection.${DOMAIN_ROOT}`)'
- 'traefik.http.routers.changedetection.middlewares=authelia@docker'
- "traefik.http.services.changedetection.loadbalancer.server.port=5000"
restart: unless-stopped
networks:
- web
2023-12-24 18:54:49 +00:00
playwright:
container_name: playwright
image: browserless/chrome
restart: unless-stopped
environment:
- DOMAIN_ROOT=${DOMAIN_ROOT}
labels:
- "traefik.enable=true"
- 'traefik.http.routers.playwright.rule=Host(`playwright.${DOMAIN_ROOT}`)'
- 'traefik.http.routers.playwright.middlewares=authelia@docker'
- "traefik.http.services.playwright.loadbalancer.server.port=3000"
networks:
- web
networks:
web:
external: true
2023-12-24 18:54:49 +00:00
volumes:
changedetection_data:
external: true