jibri: add ability to ignore certificate errors
This is useful for testing without a valid TLS certificate.
This commit is contained in:
@@ -23,6 +23,7 @@ services:
|
||||
- CHROMIUM_FLAGS
|
||||
- DISPLAY=:0
|
||||
- ENABLE_STATS_D
|
||||
- IGNORE_CERTIFICATE_ERRORS
|
||||
- JIBRI_WEBHOOK_SUBSCRIBERS
|
||||
- JIBRI_INSTANCE_ID
|
||||
- JIBRI_HTTP_API_EXTERNAL_PORT
|
||||
|
||||
@@ -141,6 +141,17 @@ jibri {
|
||||
"{{ join "\",\"" (splitList "," .Env.CHROMIUM_FLAGS) }}"
|
||||
]
|
||||
}
|
||||
{{ else if .Env.IGNORE_CERTIFICATE_ERRORS -}}
|
||||
chrome {
|
||||
flags = [
|
||||
"--use-fake-ui-for-media-stream",
|
||||
"--start-maximized",
|
||||
"--kiosk",
|
||||
"--enabled",
|
||||
"--autoplay-policy=no-user-gesture-required",
|
||||
"--ignore-certificate-errors"
|
||||
]
|
||||
}
|
||||
{{ end -}}
|
||||
|
||||
{{ if .Env.ENABLE_STATS_D -}}
|
||||
|
||||
Reference in New Issue
Block a user