Skip to content

Commit 7b3d3ac

Browse files
committed
[docs] Add docker compose example to start file browser for video records
Link to #2753 [skip ci] Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
1 parent 206caa3 commit 7b3d3ac

5 files changed

+69
-0
lines changed

‎docker-compose-v3-video-in-node.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ services:
1111
shm_size: 2gb
1212
depends_on:
1313
- selenium-hub
14+
volumes:
15+
- /tmp/videos:/videos
1416
environment:
1517
- SE_EVENT_BUS_HOST=selenium-hub
1618
- SE_RECORD_VIDEO=true
@@ -26,6 +28,8 @@ services:
2628
shm_size: 2gb
2729
depends_on:
2830
- selenium-hub
31+
volumes:
32+
- /tmp/videos:/videos
2933
environment:
3034
- SE_EVENT_BUS_HOST=selenium-hub
3135
- SE_RECORD_VIDEO=true
@@ -40,6 +44,8 @@ services:
4044
shm_size: 2gb
4145
depends_on:
4246
- selenium-hub
47+
volumes:
48+
- /tmp/videos:/videos
4349
environment:
4450
- SE_EVENT_BUS_HOST=selenium-hub
4551
- SE_RECORD_VIDEO=true
@@ -53,3 +59,15 @@ services:
5359
- "4442:4442"
5460
- "4443:4443"
5561
- "4444:4444"
62+
63+
# File browser to manage the videos from local volume
64+
file_browser:
65+
image: filebrowser/filebrowser:latest
66+
container_name: file_browser
67+
restart: always
68+
ports:
69+
- "8081:80"
70+
volumes:
71+
- /tmp/videos:/srv
72+
environment:
73+
- FB_NOAUTH=true

‎docker-compose-v3-video-upload-dynamic-grid.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,19 @@ services:
1414
command: ["/bin/sh", "-c", "/sbin/tini -- /bin/start_vsftpd.sh && tail -f /dev/null"]
1515
stop_grace_period: 30s
1616

17+
# File browser to manage the uploaded videos from the FTP server
18+
file_browser:
19+
image: filebrowser/filebrowser:latest
20+
container_name: file_browser
21+
restart: always
22+
ports:
23+
- "8081:80"
24+
volumes:
25+
# Mount the local directory `/tmp/upload` to file browser's `/srv` directory to check out the uploaded videos
26+
- /tmp/upload:/srv
27+
environment:
28+
- FB_NOAUTH=true
29+
1730
node-docker:
1831
image: selenium/node-docker:4.30.0-20250323
1932
volumes:

‎docker-compose-v3-video-upload-standalone.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,19 @@ services:
1515
command: ["/bin/sh", "-c", "/sbin/tini -- /bin/start_vsftpd.sh && tail -f /dev/null"]
1616
stop_grace_period: 30s
1717

18+
# File browser to manage the uploaded videos from the FTP server
19+
file_browser:
20+
image: filebrowser/filebrowser:latest
21+
container_name: file_browser
22+
restart: always
23+
ports:
24+
- "8081:80"
25+
volumes:
26+
# Mount the local directory `/tmp/upload` to file browser's `/srv` directory to check out the uploaded videos
27+
- /tmp/upload:/srv
28+
environment:
29+
- FB_NOAUTH=true
30+
1831
standalone_chrome:
1932
image: selenium/standalone-chrome:4.30.0-20250323
2033
platform: linux/amd64

‎docker-compose-v3-video-upload.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,19 @@ services:
1515
command: ["/bin/sh", "-c", "/sbin/tini -- /bin/start_vsftpd.sh && tail -f /dev/null"]
1616
stop_grace_period: 30s
1717

18+
# File browser to manage the uploaded videos from the FTP server
19+
file_browser:
20+
image: filebrowser/filebrowser:latest
21+
container_name: file_browser
22+
restart: always
23+
ports:
24+
- "8081:80"
25+
volumes:
26+
# Mount the local directory `/tmp/upload` to file browser's `/srv` directory to check out the uploaded videos
27+
- /tmp/upload:/srv
28+
environment:
29+
- FB_NOAUTH=true
30+
1831
chrome:
1932
image: selenium/node-chrome:4.30.0-20250323
2033
platform: linux/amd64

‎docker-compose-v3-video.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,15 @@ services:
7171
- "4442:4442"
7272
- "4443:4443"
7373
- "4444:4444"
74+
75+
# File browser to manage the videos from local volume
76+
file_browser:
77+
image: filebrowser/filebrowser:latest
78+
container_name: file_browser
79+
restart: always
80+
ports:
81+
- "8081:80"
82+
volumes:
83+
- /tmp/videos:/srv
84+
environment:
85+
- FB_NOAUTH=true

0 commit comments

Comments
 (0)