-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.ci.yml
48 lines (45 loc) · 1.31 KB
/
docker-compose.ci.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
version: "3.4"
services:
selenoid:
volumes:
- "./selenoid-outputs/browsers:/etc/selenoid:ro"
- "./selenoid-outputs/output/:/output"
- "/var/run/docker.sock:/var/run/docker.sock"
- "./selenoid-outputs/logs:/opt/selenoid/logs"
command: [
"-conf", # Flag for browsers configuration
"/etc/selenoid/browsers.json", # Location for browsers configuration file
"-container-network", # Network to be used for containers - flag
"selenoid", # network name
"-log-output-dir", # Flag to save logs in a directory
"/opt/selenoid/logs", # Location of the directory
"-limit", # Flag for number of simultaneous container to run
"5", # run count
"-save-all-logs", # to save all logs without considering capabilities
"-enable-file-upload", # file upload support
]
chrome:
image: "selenoid/chrome:${CHROME_VERSION}"
container_name: chrome
links:
- selenoid
depends_on:
- selenoid
networks:
- selenoid
volumes:
- "/dev/shm:/dev/shm"
firefox:
image: "selenoid/firefox:${FIREFOX_VERSION}"
container_name: firefox
links:
- selenoid
depends_on:
- selenoid
networks:
- selenoid
volumes:
- "/dev/shm:/dev/shm"
networks:
selenoid:
name: selenoid