1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/librarian_ynh.git synced 2024-09-03 19:36:01 +02:00
librarian_ynh/conf/config.example.yml
2022-05-28 14:17:42 +02:00

46 lines
No EOL
2.2 KiB
YAML

DOMAIN: 'https://__DOMAIN__'
PORT: '__PORT__'
# Optional: Set address to bind to, example: 127.0.0.1
ADDRESS: '127.0.0.1'
# Running a custom API server is not recommended and is not suitable for a public instance
API_URL: 'https://api.na-backend.odysee.com/api/v1/proxy'
# Use a custom video streaming endpoint (if using custom API server or proxying videos)
VIDEO_STREAMING_URL: ''
STREAMING_API_URL: 'https://api.na-backend.odysee.com/api/v1/proxy'
USE_HTTP3: false
FIBER_PREFORK: false
# Block access to claims in case of DMCA
BLOCKED_CLAIMS: 'claimid,claim2'
# AUTH_TOKEN and HMAC_KEY is automatically generated
AUTH_TOKEN: ''
HMAC_KEY: ''
# Create IMAGE_CACHE_DIR before enabling image caching
IMAGE_CACHE: 'false'
IMAGE_CACHE_DIR: '/var/www/librarian'
# Live streams are proxied through the instance (unless LIVE_STREAMING_URL is set)
# and may cause increased bandwidth usage.
ENABLE_LIVE_STREAM: false
# Using an external proxy (such as https://codeberg.org/librarian/stream-proxy)
# for livestreams is recommended. Due to limitations with Go's HTTP library,
# resolution with the built-in proxy is limited to 480p.
LIVE_STREAMING_URL: ''
# Instance privacy: This is required to get your instance listed. For more info,
# See: https://codeberg.org/librarian/librarian/wiki/Instance-privacy
INSTANCE_PRIVACY:
# This is the default if you are using NGINX and have not disabled data collection.
# Read https://codeberg.org/librarian/librarian/wiki/Instance-privacy
DATA_NOT_COLLECTED: false
DATA_COLLECTED_IP: true
DATA_COLLECTED_URL: true
DATA_COLLECTED_DEVICE: true
DATA_COLLECTED_DIAGNOSTIC_ONLY: false
# The country your instance is located. Leave blank if hosting on darknet.
INSTANCE_COUNTRY: "__INSTANCE_COUNTRY__"
# Put the name of your hosting provider. If hosting from home, use the name of your ISP. Leave blank if hosting on darknet.
INSTANCE_PROVIDER: "__INSTANCE_PROVIDER__"
# Cloudflare use is discouraged. You can set this to false if it is not proxied (gray cloud icon)
INSTANCE_CLOUDFLARE: false
# Optional: Explain your usage of data (if collected) and how it is stored.
MESSAGE: ""
# Link to your privacy policy, leave blank if you don't have one.
PRIVACY_POLICY: ""