forked from dgtlmoon/changedetection.io
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
54 lines (51 loc) · 1.3 KB
/
docker-compose.yml
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
version: '3.2'
networks:
changenet:
name: changenet
driver: bridge
services:
changedetection:
#command: ["bash", "-c", "tail -f /dev/null"] # so we can python -m pdb
image: changedetection.io
container_name: changedetection
hostname: changedetection
volumes:
- changedetection-data:/datastore
environment:
- PORT= 5000
- PUID= 1000
- PGID= 1000
- PLAYWRIGHT_DRIVER_URL=ws://playwright-chrome:3000/?stealth=1&--disable-web-security=true
- PLAYWRIGHT_STYLE=LONG SESSION
ports:
- 5000:5000
- 4444:4444
restart: unless-stopped
depends_on:
playwright-chrome:
condition: service_started
networks:
- changenet
playwright-chrome:
hostname: playwright-chrome
container_name: playwright-chrome
image: browserless/chrome:latest
restart: unless-stopped
expose:
- 3000
environment:
- SCREEN_WIDTH=1920
- SCREEN_HEIGHT=1024
- SCREEN_DEPTH=16
- ENABLE_DEBUGGER=false
- PREBOOT_CHROME=true
- CONNECTION_TIMEOUT=300000
- MAX_CONCURRENT_SESSIONS=10
- CHROME_REFRESH_TIME= 600000
- DEFAULT_BLOCK_ADS=true
- DEFAULT_STEALTH=true
- DEFAULT_IGNORE_HTTPS_ERRORS=true
networks:
- changenet
volumes:
changedetection-data: