Skip to content

Commit 303c464

Browse files
committed
feat: add changedetection.io
1 parent 6cbdf61 commit 303c464

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

stacks/changedetection.yml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# DOMAIN=example.com docker stack deploy -c changedetection.yml changedetection
2+
3+
services:
4+
app:
5+
image: dgtlmoon/changedetection.io:${VERSION:-0.49.0}
6+
environment:
7+
- WEBDRIVER_URL=http://chrome:4444/wd/hub
8+
volumes:
9+
- ${VOLUME_PATH}data:/datastore
10+
deploy:
11+
labels:
12+
- traefik.enable=true
13+
- traefik.http.routers.changedetection-${NUMBER:-1}.rule=Host(`${DOMAIN:-changedetection.localhost}`)
14+
- traefik.http.routers.changedetection-${NUMBER:-1}.entrypoints=${SCHEME:-https}
15+
- traefik.http.routers.changedetection-${NUMBER:-1}.service=changedetection-${NUMBER:-1}
16+
- traefik.http.routers.changedetection-${NUMBER:-1}.tls.certresolver=letsencrypt
17+
- traefik.http.services.changedetection-${NUMBER:-1}.loadbalancer.server.port=5000
18+
- traefik.http.routers.changedetection-${NUMBER:-1}.middlewares=changedetection-${NUMBER:-1}-auth
19+
- traefik.http.middlewares.changedetection-${NUMBER:-1}-auth.basicauth.users=${ADMIN_USERNAME:-admin}:${ADMIN_PASSWORD:-htpasswd} # htpasswd -bnBC 10 'admin' 'myp@ssw0rd'
20+
networks:
21+
- internal
22+
- traefik
23+
24+
chrome:
25+
image: selenium/standalone-chrome:latest
26+
networks:
27+
- internal
28+
29+
volumes:
30+
data:
31+
32+
networks:
33+
internal:
34+
driver: overlay
35+
attachable: true
36+
traefik:
37+
external: true
38+
name: traefik-net

0 commit comments

Comments
 (0)