1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00

update selenium

This commit is contained in:
kev 2024-10-30 17:28:04 +08:00
parent 419bb962db
commit aa3b4d4843

View File

@ -8,17 +8,18 @@ version: "3.8"
services: services:
hub: hub:
image: selenium/hub:4 image: selenium/hub:4.25.0
ports: ports:
- "4442:4442" - "4442:4442"
- "4443:4443" - "4443:4443"
- "4444:4444" - "4444:4444"
environment: environment:
- SE_ENABLE_TRACING=false
- SE_JAVA_OPTS=-Xms256m -Xmx2048m - SE_JAVA_OPTS=-Xms256m -Xmx2048m
restart: unless-stopped restart: unless-stopped
chrome: chrome:
image: selenium/node-chrome:4 image: selenium/node-chrome:4.25.0
ports: ports:
- "5900:5900" - "5900:5900"
- "7900:7900" - "7900:7900"
@ -30,6 +31,7 @@ services:
- SE_NODE_MAX_SESSIONS=4 - SE_NODE_MAX_SESSIONS=4
- SE_NODE_SESSION_TIMEOUT=180 - SE_NODE_SESSION_TIMEOUT=180
- SE_ENABLE_BROWSER_LEFTOVERS_CLEANUP=true - SE_ENABLE_BROWSER_LEFTOVERS_CLEANUP=true
- SE_ENABLE_TRACING=false
- SE_OPTS=--log-level FINE - SE_OPTS=--log-level FINE
- SE_JAVA_OPTS=-Xms256m -Xmx2048m - SE_JAVA_OPTS=-Xms256m -Xmx2048m
- START_XVFB=true - START_XVFB=true
@ -41,7 +43,7 @@ services:
restart: unless-stopped restart: unless-stopped
video: video:
image: selenium/video:ffmpeg-6.1.1-20240621 image: selenium/video:ffmpeg-7.1-20241024
volumes: volumes:
- ./data:/videos - ./data:/videos
ports: ports: