mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 13:23:02 +01:00
update
This commit is contained in:
@@ -1,11 +1,36 @@
|
||||
firefox:
|
||||
image: selenium/standalone-firefox-debug
|
||||
ports:
|
||||
- "4444:4444"
|
||||
- "5900:5900"
|
||||
environment:
|
||||
- JAVA_OPTS=-Xmx512m
|
||||
- SCREEN_WIDTH=1024
|
||||
- SCREEN_HEIGHT=768
|
||||
- SCREEN_DEPTH=16
|
||||
restart: always
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
|
||||
hub:
|
||||
image: selenium/hub:4
|
||||
ports:
|
||||
- "4442:4442"
|
||||
- "4443:4443"
|
||||
- "4444:4444"
|
||||
restart: unless-stopped
|
||||
|
||||
chrome:
|
||||
image: selenium/node-chrome:4
|
||||
ports:
|
||||
- "5900:5900"
|
||||
environment:
|
||||
- SE_EVENT_BUS_HOST=hub
|
||||
- SE_EVENT_BUS_PUBLISH_PORT=4442
|
||||
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
|
||||
- SE_NODE_MAX_SESSIONS=4
|
||||
shm_size: 2gb
|
||||
depends_on:
|
||||
- hub
|
||||
restart: unless-stopped
|
||||
|
||||
video:
|
||||
image: selenium/video
|
||||
volumes:
|
||||
- ./data:/videos
|
||||
depends_on:
|
||||
- chrome
|
||||
environment:
|
||||
- DISPLAY_CONTAINER_NAME=chrome
|
||||
- FILE_NAME=output.mp4
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user