Files
home_server/changedetection/docker-compose.yml
T
2026-04-24 09:05:11 +00:00

50 lines
1.4 KiB
YAML

services:
changedetection:
networks:
- traefik
# - changed
image: lscr.io/linuxserver/changedetection.io:latest
container_name: changedetection
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Copenhagen
- BASE_URL=https://change.knast.cc
- WEBDRIVER_URL=http://selenium:4444/wd/hub
volumes:
- /srv/changedetection/config:/config
ports:
- 5000:5000
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.auth.basicauth.users=fartin:$$apr1$$zlkymds4$$hQVyOHjZ.hB8TVyCwmetv0"
- "traefik.http.routers.changedetection.middlewares=auth"
- "traefik.http.routers.changedetection.entrypoints=websecure"
- "traefik.http.routers.changedetection.rule=Host(`change.knast.cc`)"
- "traefik.http.routers.changedetection.tls.certresolver=letsencr"
- "traefik.http.services.changedetection.loadbalancer.server.port=5000"
# selenium:
# image: selenium/standalone-chrome:latest
# container_name: selenium
# hostname: selenium
# shm_size: 2g
# ports:
# - 4444:4444
# - 7900:7900
# networks:
# - changed
# restart: unless-stopped
# environment:
# SE_NODE_MAX_SESSIONS: 4
# CHROME_OPTIONS: |
# --window-size=1280,1024
# --headless
# --disable-gpu
networks:
traefik:
external: true
# changed:
# external: false