2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 21:33:02 +01:00

update selenium

This commit is contained in:
kev
2022-01-11 17:33:20 +08:00
parent 34e7e4ea54
commit dd52cbd8b8
7 changed files with 28 additions and 147 deletions

View File

@@ -1,3 +1,7 @@
#
# https://github.com/SeleniumHQ/docker-selenium/blob/trunk/docker-compose-v3.yml
#
version: "3.8"
services:
@@ -22,19 +26,10 @@ services:
- SE_NODE_OVERRIDE_MAX_SESSIONS=true
- SE_NODE_MAX_SESSIONS=4
- SE_NODE_SESSION_TIMEOUT=180
- START_XVFB=true
- VNC_NO_PASSWORD=1
- VNC_VIEW_ONLY=1
shm_size: 2gb
depends_on:
- hub
restart: unless-stopped
video:
image: selenium/video
volumes:
- ./data:/videos
environment:
- DISPLAY_CONTAINER_NAME=chrome
- FILE_NAME=output.mp4
shm_size: 2gb
depends_on:
- chrome
restart: unless-stopped