-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
47 lines (42 loc) · 1.17 KB
/
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
43
44
45
46
47
version: '3'
services:
firefox:
image: selenium/standalone-firefox:4.15.0-20231129
shm_size: '2gb'
ports:
- 4444:4444 # Selenium service
- 5900:5900 # VNC server
- 7900:7900 # VNC browser client
environment:
- SE_NODE_OVERRIDE_MAX_SESSIONS=true
- SE_NODE_MAX_SESSIONS=15
- SE_NODE_SESSION_TIMEOUT=30
chrome:
image: selenium/standalone-chrome:4.15.0-20231129
shm_size: '2gb'
ports:
- 4441:4444 # Selenium service
- 5901:5900 # VNC server
- 7901:7900 # VNC browser client
environment:
- SE_NODE_OVERRIDE_MAX_SESSIONS=true
- SE_NODE_MAX_SESSIONS=15
- SE_NODE_SESSION_TIMEOUT=30
edge:
image: selenium/standalone-edge:4.15.0-20231129
shm_size: '2gb'
ports:
- 4442:4444 # Selenium service
- 5902:5900 # VNC server
- 7902:7900 # VNC browser client
environment:
- SE_NODE_OVERRIDE_MAX_SESSIONS=true
- SE_NODE_MAX_SESSIONS=15
- SE_NODE_SESSION_TIMEOUT=30
python:
image: python:3.11.7-alpine3.18
volumes:
- ./../:/test
working_dir: /test
command: sh -c "pip install -r requirements-lock.txt && sh"
tty: true