-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (31 loc) · 772 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
35 lines (31 loc) · 772 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
version: '3'
networks:
selenium-net:
driver: bridge
services:
tests:
build:
context: .
dockerfile: ./Dockerfile
depends_on:
- selenium
networks:
- selenium-net
environment:
- "WD_URL=http://selenium:4444/wd/hub"
- WD_PLATFORM=linux
- WD_BROWSER=chrome
- WD_BROWSER_VERSION=78
- "GMAIL_USERNAME=" # Required, enter your credentials
- "GMAIL_PASSWORD=" # Required, enter your credentials
# - "GMAIL_MESSAGE_TO="# Optional
#- "GMAIL_MESSAGE_SUBJECT=" # Optional
#- "GMAIL_MESSAGE_BODY=" # Optional
selenium:
image: selenium/standalone-chrome:latest
volumes:
- /dev/shm:/dev/shm
networks:
- selenium-net
environment:
- NODE_PORT=4444