31 lines
923 B
YAML
31 lines
923 B
YAML
services:
|
|
changedetection:
|
|
networks:
|
|
- traefik
|
|
|
|
image: lscr.io/linuxserver/changedetection.io:latest
|
|
container_name: changedetection
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=Europe/London
|
|
- BASE_URL= #optional
|
|
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(`pair.$DOMAIN_NAME`)"
|
|
- "traefik.http.routers.changedetection.tls.certresolver=letsencr"
|
|
- "traefik.http.services.changedetection.loadbalancer.server.port=5000"
|
|
|
|
|
|
networks:
|
|
traefik:
|
|
external: true
|