-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-selenoid.yml
54 lines (51 loc) · 1.35 KB
/
docker-compose-selenoid.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.8"
services:
selenoid:
network_mode: bridge
image: aerokube/selenoid
container_name: selenoid
volumes:
- "PATH_TO_CONFIG_FOLDER:/etc/selenoid"
- "PATH_TO_VIDEO_FOLDER:/opt/selenoid/video"
- "PATH_TO_LOGS_FOLDER:/opt/selenoid/logs"
- "/var/run/docker.sock:/var/run/docker.sock"
environment:
- OVERRIDE_VIDEO_OUTPUT_DIR=PATH_TO_VIDEO_FOLDER
command: ["-conf", "/etc/selenoid/browsers.json", "-video-output-dir", "/opt/selenoid/video", "-log-output-dir", "/opt/selenoid/logs", "-limit", "5"] # change the limit to have more sessions
ports:
- "4444:4444"
selenoid-ui:
network_mode: bridge
image: "aerokube/selenoid-ui"
container_name: selenoid-ui
links:
- selenoid
ports:
- "8083:8080"
networks:
- selenoid
command: ["--selenoid-uri", "http://selenoid:4444"]
chrome_89.0:
network_mode: bridge
image: "selenoid/vnc_chrome"
container_name: chrome_vnc
links:
- selenoid
- selenoid-ui
depends_on:
- selenoid
- selenoid-ui
volumes:
- "/dev/shm:/dev/shm"
firefox_87.0:
network_mode: bridge
image: "selenoid/vnc_firefox"
container_name: firefox_latest
links:
- selenoid
- selenoid-ui
depends_on:
- selenoid
- selenoid-ui
volumes:
- "/dev/shm:/dev/shm"