-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.template
31 lines (22 loc) · 1.05 KB
/
.env.template
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
## [STRING] target to watch for screenshot diffs
TARGET='https://picsum.photos/'
## [STRING] Host url of puppeteer service
PUPPETEER_HOST='http://localhost:3000'
## [FLOAT] Value from 0 to 1 where the smaller the number the more precise the comparison
DIFF_THRESHOLD=0.5
## [INTEGER] Number of pages/tabs to allocate for puppeteer
MAX_PAGES=2
## [STRING] (OPTIONAL) Discord Webhook URL
# DISCORD_WEBHOOK_URL=
## [STRING] (OPTIONAL) Event to wait for when loading page in puppeteer
# https://github.com/puppeteer/puppeteer/blob/f2ab11c640e10fce558264a75be2fd34483fdbe6/docs/api.md#pagegotourl-options
# WAIT_UNTIL=load
## [INTEGER] (OPTIONAL) Extra time in MS to wait after page is loaded before taking screenshot
# EXTRA_WAIT=5000
## [INTEGER] (OPTIONAL) How long in MS before queued puppeteer tasks timeout
# QUEUE_TIMEOUT=45000
## [STRING] (OPTIONAL) Jobi log level
# https://github.com/StarryInternet/jobi#log-level
# NODE_DEBUG=info
## [INTEGER] (OPTIONAL) How long in seconds the maximum randomized start delay should be for functions
# MAX_RANDOM_START_DELAY=30