Skip to content

Commit fb843da

Browse files
authored
Update docker-compose.yml
1 parent 68a2827 commit fb843da

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

examples/changedetection/docker-compose.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ services:
77
- PUID=1000
88
- PGID=1000
99
- TZ=Europe/Berlin
10+
- PLAYWRIGHT_DRIVER_URL=ws://playwright-chrome:3000
1011
volumes:
1112
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/changedetection/config:/config
1213
ports:
@@ -24,6 +25,35 @@ services:
2425
# # Part for local lan services only; disable to expose externally
2526
# - traefik.http.routers.changedetection.middlewares=local-ipwhitelist@file,basic-auth@file
2627

28+
playwright-chrome:
29+
hostname: playwright-chrome
30+
image: dgtlmoon/sockpuppetbrowser:latest
31+
restart: unless-stopped
32+
expose:
33+
- 3000
34+
tmpfs:
35+
- /tmp # This just keeps tmp data from being written to disk
36+
environment:
37+
- SCREEN_WIDTH=1920
38+
- SCREEN_HEIGHT=1024
39+
- SCREEN_DEPTH=16
40+
- MAX_CONCURRENT_CHROME_PROCESSES=10
41+
- STATS_REFRESH_SECONDS=120 # Default is 3 seconds which is way too much
42+
#networks:
43+
# - proxy
44+
45+
#proxy:
46+
# image: dockage/tor-privoxy:latest
47+
# container_name: torprivoxy
48+
# expose:
49+
# - 9050 # socks5
50+
# - 9051 # tor control port
51+
# - 8118 # http proxy
52+
# hostname: proxy
53+
# restart: unless-stopped
54+
# #networks:
55+
# # - proxy
56+
2757
#networks:
2858
# proxy:
2959
# external: true

0 commit comments

Comments
 (0)