Remove security mode to use a simple require verification bool

This commit is contained in:
2024-03-09 13:52:39 +01:00
parent 041abb732d
commit 78a3ae8aeb
5 changed files with 17 additions and 58 deletions

View File

@@ -11,27 +11,15 @@ LIBRARY_LANGUAGES=en
# A pattern (regex) to ignore video files.
LIBRARY_IGNORE_PATTERN=".*/[dD]ownloads?/.*"
# Available modes: open, logged, verif, invite
# open means anyone can use your instance, even without an account (guest mode is enabled). To specify guest permissions, see UNLOGGED_PERMISSIONS.
# verif means anyone can create an account but their account needs to be manually verified by an admin before they can use kyoo
# invite means only created and verified accounts can access your instance. to allow someone else to use your instance, you need to invite them.
SECURITY_MODE=verif
# Specify permissions of guest accounts. By default, if security mode is not open, this is empty.
# You can specify this even if security mode is not open to allow guests users to see your
# collection without behing able to play videos for example.
# Default if SECURITY_MODE is open:
# If this is true, new accounts wont have any permissions before you approve them in your admin dashboard.
REQUIRE_ACCOUNT_VERIFICATION=true
# Specify permissions of guest accounts, default is no permissions but you can allow anyone to use your instance without account by doing:
# UNLOGGED_PERMISSIONS=overall.read,overall.play
# Default if SECURITY_MODE is not open:
# UNLOGGED_PERMISSIONS=
# To allow anyone to browse your collection but prevent them from playing a video:
# You can specify this to allow guests users to see your collection without behing able to play videos for example:
# UNLOGGED_PERMISSIONS=overall.read
# Specify permissions of new accounts.
# DEFAULT_PERMISSIONS=overall.read,overall.play
# Hardware transcoding (equivalent of --profile docker compose option).
COMPOSE_PROFILES= # vaapi or qsv or nvidia
# the preset used during transcode. faster means worst quality, you can probably use a slower preset with hwaccels