From e4ca25d79f4d07e22765e753dd11bd86b0abcc74 Mon Sep 17 00:00:00 2001 From: kev Date: Wed, 25 Oct 2023 13:55:32 +0800 Subject: [PATCH] update selenium --- selenium/docker-compose.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/selenium/docker-compose.yml b/selenium/docker-compose.yml index b61bc6c..a056d7a 100644 --- a/selenium/docker-compose.yml +++ b/selenium/docker-compose.yml @@ -38,3 +38,18 @@ services: depends_on: - hub restart: unless-stopped + + video: + image: selenium/video:ffmpeg-4.3.1-20231020 + volumes: + - ./data:/videos + ports: + - "9000:9000" + environment: + - DISPLAY_CONTAINER_NAME=chrome + - SE_VIDEO_FOLDER=/videos + - FILE_NAME=video.mp4 + - VIDEO_READY_PORT=9000 + depends_on: + - chrome + restart: unless-stopped