-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
42 lines (39 loc) · 904 Bytes
/
docker-compose.yaml
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
# To execute this docker-compose yml file use docker-compose -f <file_name> up
# Add the "-d" flag at the end for deattached execution
version: '2'
services:
firefox:
build: ./node-firefox/
image: selenium-chinese/node-firefox:3.10.0-argon
restart: always
volumes:
- /dev/shm:/dev/shm
depends_on:
- hub
environment:
HUB_HOST: hub
# SCREEN_WIDTH: 1680
# SCREEN_HEIGHT: 1050
# ports:
# - "15901:5900"
chrome:
build: ./node-chrome/
image: selenium-chinese/node-chrome:3.10.0-argon
restart: always
volumes:
- /dev/shm:/dev/shm
depends_on:
- hub
environment:
HUB_HOST: hub
# SCREEN_WIDTH: 1680
# SCREEN_HEIGHT: 1050
# ports:
# - "15900:5900"
hub:
image: selenium/hub:3.10.0-argon
restart: always
environment:
- GRID_MAX_SESSION=50
ports:
- "4444:4444"