-
Notifications
You must be signed in to change notification settings - Fork 61
/
docker-compose-grid.yml
43 lines (40 loc) · 992 Bytes
/
docker-compose-grid.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
version: '3.8'
services:
selenoid:
network_mode: bridge
image: aerokube/selenoid
container_name: selenoid
volumes:
- "./input/selenoid:/etc/selenoid"
- "./input/selenoid/video:/opt/selenoid/video"
- "./input/selenoid/logs:/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"
networks:
selenoid:
name: selenoid