-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (43 loc) · 965 Bytes
/
docker-compose.yml
File metadata and controls
43 lines (43 loc) · 965 Bytes
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:
selenium-hub:
image: selenium/hub:3.141.59-20210929
container_name: selenium-hub
ports:
- "4444:4444"
networks:
- test-automation-setup
chrome:
image: selenium/node-chrome:3.141.59-20210929
volumes:
- /dev/shm:/dev/shm
depends_on:
- selenium-hub
environment:
- HUB_HOST=selenium-hub
- HUB_PORT=4444
networks:
- test-automation-setup
firefox:
image: selenium/node-firefox:3.141.59-20210929
volumes:
- /dev/shm:/dev/shm
depends_on:
- selenium-hub
environment:
- HUB_HOST=selenium-hub
- HUB_PORT=4444
networks:
- test-automation-setup
mvn_tests:
image: mvn_tests
build: ./
depends_on:
- selenium-hub
networks:
- test-automation-setup
command: >
bash -c "mvn clean test -Dbrowser=chrome -DgridURL=selenium-hub:4444"
networks:
test-automation-setup:
external: true