Kyoo/transcoder/.env.example
Fred Heinecke 1c8cbab989
Support POSTGRES_URL environment variable for the Transcoder service
Signed-off-by: Fred Heinecke <fred.heinecke@yahoo.com>
2025-04-24 05:31:40 +00:00

37 lines
1.5 KiB
Plaintext

# vi: ft=sh
# shellcheck disable=SC2034
# where to store temporary transcoded files
GOCODER_CACHE_ROOT="/cache"
# where to store extracted data (subtitles/attachments/comptuted thumbnails for scrubbing)
GOCODER_METADATA_ROOT="/metadata"
# path prefix needed to reach the http endpoint
GOCODER_PREFIX=""
# base absolute path that contains video files (everything in this directory can be served)
GOCODER_SAFE_PATH="/video"
# hardware acceleration profile (valid values: disabled, vaapi, qsv, nvidia)
GOCODER_HWACCEL="disabled"
# 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"
# the vaapi device path (only used with GOCODER_HWACCEL=vaapi)
GOCODER_VAAPI_RENDERER="/dev/dri/renderD128"
# the qsv device path (only used with GOCODER_HWACCEL=qsv)
GOCODER_QSV_RENDERER="/dev/dri/renderD128"
# Database things
# Setting this ignores the below connection variables and overrides any default values
# POSTGRES_URL=postgres://user:password@host:port/dbname?sslmode=disable
POSTGRES_USER=
POSTGRES_PASSWORD=
POSTGRES_DB=
POSTGRES_SERVER=
POSTGRES_PORT=5432
# can also be "require" ("prefer" is not supported)
POSTGRES_SSLMODE="disable"
# Default is gocoder, you can specify "disabled" to use the default search_path of the user.
# If this is not "disabled", the schema will be created (if it does not exists) and
# the search_path of the user will be ignored (only the schema specified will be used).
POSTGRES_SCHEMA=gocoder