57 lines
1.4 KiB
YAML
57 lines
1.4 KiB
YAML
|
version: '3.8'
|
||
|
|
||
|
services:
|
||
|
changedetection:
|
||
|
image: dgtlmoon/changedetection.io
|
||
|
container_name: changedetection
|
||
|
|
||
|
env_file:
|
||
|
- ../.env
|
||
|
|
||
|
volumes:
|
||
|
- changedetection_data:/datastore
|
||
|
|
||
|
environment:
|
||
|
- DOMAIN_ROOT=${DOMAIN_ROOT}
|
||
|
- PORT=5000
|
||
|
- PUID=${USER_ID}
|
||
|
- PGID=${GROUP_ID}
|
||
|
- PLAYWRIGHT_DRIVER_URL=ws://playwright-chrome:3000/
|
||
|
- BASE_URL="https://changedetection.${DOMAIN_ROOT}"
|
||
|
|
||
|
networks:
|
||
|
- home-proxy
|
||
|
|
||
|
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
|
||
|
|
||
|
playwright:
|
||
|
container_name: playwright
|
||
|
image: browserless/chrome
|
||
|
restart: unless-stopped
|
||
|
|
||
|
environment:
|
||
|
- DOMAIN_ROOT=${DOMAIN_ROOT}
|
||
|
|
||
|
networks:
|
||
|
- home-proxy
|
||
|
|
||
|
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"
|
||
|
|
||
|
volumes:
|
||
|
changedetection_data:
|
||
|
external: true
|
||
|
|
||
|
|
||
|
networks:
|
||
|
home-proxy:
|
||
|
external: true
|