forked from baizunxian/zerorunner
/
node-config.toml
26 lines (23 loc) · 1.2 KB
/
node-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
[docker]
# 需要启动的浏览器 这里默认启动 chrom 下面有 firefox MicrosoftEdge 的配置
configs = [
"selenium/standalone-chrome:4.9.1-20230508", '{"browserName": "chrome", "platformName": "linux"}'
]
#configs = [
# "selenium/standalone-firefox:4.9.1-20230508", '{"browserName": "firefox", "platformName": "linux"}',
# "selenium/standalone-chrome:4.9.1-20230508", '{"browserName": "chrome", "platformName": "linux"}',
# "selenium/standalone-edge:4.9.1-20230508", '{"browserName": "MicrosoftEdge", "platformName": "linux"}'
#]
# URL for connecting to the docker daemon
# host.docker.internal works for macOS and Windows.
# Linux could use --net=host in the `docker run` instruction or 172.17.0.1 in the URI below.
# To have Docker listening through tcp on macOS, install socat and run the following command
# socat -4 TCP-LISTEN:2375,fork UNIX-CONNECT:/var/run/docker.sock
url = "http://127.0.0.1:2375"
# Docker image used for video recording
video-image = "selenium/video:ffmpeg-4.3.1-20230508"
# Uncomment the following section if you are running the node on a separate VM
# Fill out the placeholders with appropriate values
#[server]
#host = <ip-from-node-machine>
#port = <port-from-node-machine>