43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
services:
|
|
changedetection:
|
|
networks:
|
|
- traefik
|
|
|
|
image: lscr.io/linuxserver/changedetection.io:latest
|
|
container_name: changedetection
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=Europe/Copenhagen
|
|
- BASE_URL= #optional
|
|
- WEBDRIVER_URL: http://selenium:4444
|
|
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
|
|
network_mode: bridge
|
|
restart: unless-stopped
|
|
environment:
|
|
SE_NODE_MAX_SESSIONS: 4
|
|
|
|
networks:
|
|
traefik:
|
|
external: true
|