Allow cpu profile for docker compose versions where default profile is not valid

This commit is contained in:
Zoe Roux 2024-04-06 13:28:30 +02:00
parent e04093df48
commit dde3af188d
No known key found for this signature in database
4 changed files with 4 additions and 4 deletions

View File

@ -26,7 +26,7 @@ UNLOGGED_PERMISSIONS=
DEFAULT_PERMISSIONS=overall.read,overall.play
# Hardware transcoding (equivalent of --profile docker compose option).
COMPOSE_PROFILES= # vaapi or qsv or nvidia
COMPOSE_PROFILES=cpu # cpu (no hardware acceleration) or vaapi or qsv or nvidia
# the preset used during transcode. faster means worst quality, you can probably use a slower preset with hwaccels
# warning: using vaapi hwaccel disable presets (they are not supported).
GOCODER_PRESET=fast

View File

@ -95,7 +95,7 @@ services:
transcoder:
<<: *transcoder-base
profiles: ['']
profiles: ['', 'cpu']
transcoder-nvidia:
<<: *transcoder-base

View File

@ -70,7 +70,7 @@ services:
transcoder:
<<: *transcoder-base
profiles: ['']
profiles: ['', 'cpu']
transcoder-nvidia:
<<: *transcoder-base

View File

@ -71,7 +71,7 @@ services:
transcoder:
<<: *transcoder-base
profiles: ['']
profiles: ['', 'cpu']
transcoder-nvidia:
<<: *transcoder-base