]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - support/docker/production/config/production.yaml
Fallback to torrent file if there is an incorrect info hash
[github/Chocobozzz/PeerTube.git] / support / docker / production / config / production.yaml
CommitLineData
e8395f02 1listen:
2 port: 9000
3
4# Correspond to your reverse proxy "listen" configuration
5webserver:
6 https: true
7 hostname: undefined
8 port: 443
9
10# Your database name will be "peertube"+database.suffix
11database:
12 hostname: 'db'
13 port: 5432
14 suffix: ''
15 username: 'postgres'
16 password: 'postgres'
17
18# Redis server for short time storage
19redis:
20 hostname: 'redis'
21 port: 6379
22 auth: null
23
6500a90c 24# SMTP server to send emails
25smtp:
26 hostname: null
27 port: 465
28 username: null
29 password: null
30 tls: true
bebf2d89 31 disable_starttls: false
6500a90c 32 ca_file: null # Used for self signed certificates
33 from_address: 'admin@example.com'
34
e8395f02 35# From the project root directory
36storage:
37 avatars: '../data/avatars/'
38 certs: '../data/certs/'
39 videos: '../data/videos/'
40 logs: '../data/logs/'
41 previews: '../data/previews/'
42 thumbnails: '../data/thumbnails/'
43 torrents: '../data/torrents/'
44 cache: '../data/cache/'
45
46log:
47 level: 'info' # debug/info/warning/error
48
49cache:
50 previews:
51 size: 100 # Max number of previews you want to cache
52
53admin:
54 email: undefined
55
56signup:
57 enabled: false
58 limit: -1
59
60user:
61 # Default value of maximum video BYTES the user can upload (does not take into account transcoded files).
62 # -1 == unlimited
63 video_quota: -1
64
65# If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag
66# Uses a lot of CPU!
67transcoding:
68 enabled: false
69 threads: 2
70 resolutions: # Only created if the original video has a higher resolution
71 240p: true
72 360p: true
73 480p: true
74 720p: true
75 1080p: true
6500a90c 76
77# Instance settings
78instance:
79 name: 'PeerTube'
3b2ed891 80 short_description: 'PeerTube, a federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular.'
6500a90c 81 description: '' # Support markdown
82 terms: '' # Support markdown
ef48a0d5
BB
83 default_client_route: '/videos/trending'
84 customizations:
85 javascript: '' # Directly your JavaScript code (without <script> tags). Will be eval at runtime
86 css: '' # Directly your CSS code (without <style> tags). Will be injected at runtime