mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
update
This commit is contained in:
parent
026a8ae9ff
commit
553a14743e
@ -1,6 +1,8 @@
|
||||
selenium
|
||||
========
|
||||
|
||||
![](https://www.perfecto.io/sites/default/files/image/2021-10/components.png)
|
||||
|
||||
[Selenium][1] is an umbrella project for a range of tools and libraries that enable
|
||||
and support the automation of web browsers.
|
||||
|
||||
@ -9,6 +11,18 @@ Watch [this][2] video to get started.
|
||||
## Server
|
||||
|
||||
```bash
|
||||
$ cat /etc/docker/daemon.json
|
||||
{
|
||||
"default-ulimits": {
|
||||
"nofile": {
|
||||
"Name": "nofile",
|
||||
"Soft": 32768,
|
||||
"Hard": 32768
|
||||
}
|
||||
},
|
||||
"live-restore": true
|
||||
}
|
||||
$ systemctl reload docker
|
||||
$ docker-compose up -d
|
||||
$ curl http://127.0.0.1:4444/
|
||||
```
|
||||
|
@ -15,10 +15,6 @@ services:
|
||||
- "4444:4444"
|
||||
environment:
|
||||
- SE_JAVA_OPTS=-Xms256m -Xmx2048m
|
||||
ulimits:
|
||||
nofile:
|
||||
soft: 32768
|
||||
hard: 32768
|
||||
restart: unless-stopped
|
||||
|
||||
chrome:
|
||||
@ -40,10 +36,6 @@ services:
|
||||
- VNC_NO_PASSWORD=1
|
||||
- VNC_VIEW_ONLY=1
|
||||
shm_size: 2gb
|
||||
ulimits:
|
||||
nofile:
|
||||
soft: 32768
|
||||
hard: 32768
|
||||
depends_on:
|
||||
- hub
|
||||
restart: unless-stopped
|
||||
@ -59,10 +51,6 @@ services:
|
||||
- SE_VIDEO_FOLDER=/videos
|
||||
- FILE_NAME=video.mp4
|
||||
- VIDEO_READY_PORT=9000
|
||||
ulimits:
|
||||
nofile:
|
||||
soft: 32768
|
||||
hard: 32768
|
||||
depends_on:
|
||||
- chrome
|
||||
restart: unless-stopped
|
||||
|
Loading…
Reference in New Issue
Block a user