-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathconfig.toml
76 lines (60 loc) · 2.3 KB
/
config.toml
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
66
67
68
69
70
71
72
73
74
75
76
#
# NecroBrowser configuration
#
version = 1.0
debug = false
root = false
# Mark this as true if Necrobrowser is running as root.
[platform]
# supported platforms: freebsd, linux, darwin
type = "linux"
# The full path to Chromium or Chrome executable
puppetPath = "/usr/bin/chromium"
# NOTE puppetPath is needed only on FreeBSD
# make sure you have the Chromium binary
# as /usr/bin/chromium-browser and when installing puppeteer
# prefix it with PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
extrusionPath = "./extrusion"
# this is where all task profiles are kept, like:
# ./profiles/vOkg6KfnP
profilesPath = "./profiles"
# listening address and port for the API
host = "0.0.0.0"
port = 3000
[cluster]
# supported concurrency: browser, page
# the safest is to run each task in its own browser
# but in cases where you prefer opening a single browser
# and tasks in their own incognito tab, use page
concurrency = "necro"
# how many sessions to process simultaneously
# for max performances: number or cores / 2
poolSize = 2
# after how many seconds is the task timing out
# 2 minutes are usually enough for long-term tasks
# increase this if your tasks are really long running
taskTimeout = 360
# page options
[cluster.page]
# browser window size
windowSize = "1600,1200"
# page scale factor (zoom level)
# 1.5 == 150% useful when using headless=false and large screen resolutions above 2K
scaleFactor = 1
[necro]
# non-headless means normal chromium GUI
# in production, and in general unless you encouter headless bugs, you
# should always use headless = true
headless = false
# each submitted task is kept in redis, so we can keep the session
# alive by just doing a GET on the task fixSession url
# by default sessions are kept alive every 5 minutes
[necro.keepalive]
enabled = true
delay = 300
# if you need to upstream proxy the instrumented browsers, here you define it
# NOTE: consider using a VPN tunnel like Wireguard or IPSEC to tunnel the necrobrowser
# traffic back into the Muraena reverse proxy machine (if phishing is your usecase)
[necro.proxy]
enabled = false
url = "http://localhost:9999"