Skip to content

Commit d35048e

Browse files
authored
Docker: Video uploader process is spawned by env var flag SE_VIDEO_UPLOAD_ENABLED (#2565)
Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent 2321338 commit d35048e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -692,9 +692,9 @@ services:
692692
`SE_VIDEO_FILE_NAME=auto` will use the session id as the video file name. This ensures that the video file name is unique to upload.
693693
Video file name construction automatically works based on Node endpoint `/status` (and optional GraphQL endpoint) to get session ID, capabilities.
694694

695-
`SE_VIDEO_UPLOAD_ENABLED=true` will enable the video upload feature. In the background, it will create a pipefile with file and destination for uploader to consume and proceed.
695+
`SE_VIDEO_UPLOAD_ENABLED=true` (`false` by default) will enable the video upload feature. In the background, it will create a pipefile with file and destination for uploader to consume and proceed.
696696

697-
`SE_VIDEO_INTERNAL_UPLOAD=true` will use RCLONE installed in the container for upload. If you want to use another sidecar container for upload, set it to `false`.
697+
`SE_VIDEO_INTERNAL_UPLOAD=true` (by default) will use RCLONE installed in the container for upload. If you want to use another sidecar container for upload, set it to `false`.
698698

699699
| ENV variables per mode | Hub/Nodes | Standalone roles | Dynamic Grid |
700700
|------------------------------------------|-------------------|------------------|----------------|

Video/uploader.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
priority=5
33
command=/opt/bin/upload.sh
44
killasgroup=true
5-
autostart=%(ENV_SE_VIDEO_INTERNAL_UPLOAD)s
5+
autostart=%(ENV_SE_VIDEO_UPLOAD_ENABLED)s
66
startsecs=0
7-
autorestart=%(ENV_SE_VIDEO_INTERNAL_UPLOAD)s
7+
autorestart=%(ENV_SE_VIDEO_UPLOAD_ENABLED)s
88
stopsignal=TERM
99
stopwaitsecs=30
1010

0 commit comments

Comments
 (0)