This repository has been archived on 2021-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
docker-peertube/rootfs/PeerTube/config/production.yaml

83 lines
2.0 KiB
YAML

listen:
port: 9000
# Correspond to your reverse proxy "listen" configuration
webserver:
https: <https>
hostname: '<hostname>'
port: <port>
# Your database name will be "peertube"+database.suffix
database:
hostname: '<database_host>'
port: <database_port>
suffix: '_prod'
username: '<database_username>'
password: '<database_password>'
redis:
hostname: 'redis_hostname'
port: 'redis_port'
auth: null
smtp:
hostname: '<smtp_hostname>'
port: <smtp_port>
username: '<smtp_username>'
password: '<smtp_password>'
tls: <smtp_tls>
ca_file: null # Used for self signed certificates
from_address: '<from_address>'
# From the project root directory
storage:
avatars: 'avatars/'
certs: 'certs/'
videos: 'videos/'
logs: 'logs/'
previews: 'previews/'
thumbnails: 'thumbnails/'
torrents: 'torrents/'
log:
level: 'info' # debug/info/warning/error
cache:
previews:
size: <cache_size>
admin:
email: '<admin_email>'
signup:
enabled: <signup_enabled>
limit: <signup_limit> # When the limit is reached, registrations are disabled. -1 == unlimited
user:
# Default value of maximum video BYTES the user can upload (does not take into account transcoded files).
# -1 == unlimited
video_quota: <video_quota>
# If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag
# Uses a lot of CPU!
transcoding:
enabled: <transcoding_enable>
threads: <transcoding_threads>
resolutions: # Only created if the original video has a higher resolution
240p: <resolution_280>
360p: <resolution_360>
480p: <resolution_480>
720p: <resolution_720>
1080p: <resolution_1080>
instance:
name: '<instance_name>'
description: '' # Support markdown
terms: '' # Support markdown
default_client_route: '/videos/trending'
customizations:
javascript: '' # Directly your JavaScript code (without <script> tags). Will be eval at runtime
css: '' # Directly your CSS code (without <style> tags). Will be injected at runtime