-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
65 lines (63 loc) · 2.04 KB
/
Copy pathcompose.yaml
File metadata and controls
65 lines (63 loc) · 2.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
services:
changedetection:
image: lscr.io/linuxserver/changedetection.io:latest
container_name: changedetection
hostname: changedetection
security_opt:
- no-new-privileges:true
environment:
- PUID=3001
- PGID=3001
- TZ=${TZ:-America/New_York}
# - BASE_URL= # Set only if behind a reverse proxy with a subpath
- PLAYWRIGHT_DRIVER_URL=ws://playwright-chrome:3000
- FLARESOLVERR_URL=http://flaresolverr:8191/v1
- LOGGER_LEVEL=INFO
volumes:
- /mnt/SSD/Containers/changedetection:/config
ports:
- ${CHANGEDETECTION_PORT:-5000}:5000
networks:
- changedetection
- flaresolverr
- traefik
labels:
- "traefik.enable=true"
- "traefik.http.routers.changedetection.rule=Host(`${CHANGEDETECTION_DOMAIN}`)"
- "traefik.http.routers.changedetection.entrypoints=websecure"
- "traefik.http.routers.changedetection.tls.certresolver=letsencrypt"
- "traefik.http.routers.changedetection.middlewares=secure-headers@file,lan-only@file"
- "traefik.http.routers.changedetection.service=changedetection@docker"
- "traefik.http.services.changedetection.loadbalancer.server.port=5000"
depends_on:
playwright-chrome:
condition: service_started
restart: unless-stopped
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
playwright-chrome:
image: dgtlmoon/sockpuppetbrowser:latest
container_name: changedetection-playwright
hostname: changedetection-playwright
security_opt:
- no-new-privileges:true
environment:
- DEFAULT_LAUNCH_ARGS=["--window-size=1920,1080","--disable-gpu","--disable-software-rasterizer","--disable-webgl","--disable-3d-apis","--disable-accelerated-2d-canvas"]
shm_size: 2g
networks:
- changedetection
restart: unless-stopped
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
networks:
changedetection:
flaresolverr:
external: true
traefik:
external: true