]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - support/docker/production/config/production.yaml
[docker] Update production guidelines and docker-compose file; (#341)
[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
31 ca_file: null # Used for self signed certificates
32 from_address: 'admin@example.com'
33
e8395f02 34# From the project root directory
35storage:
36 avatars: '../data/avatars/'
37 certs: '../data/certs/'
38 videos: '../data/videos/'
39 logs: '../data/logs/'
40 previews: '../data/previews/'
41 thumbnails: '../data/thumbnails/'
42 torrents: '../data/torrents/'
43 cache: '../data/cache/'
44
45log:
46 level: 'info' # debug/info/warning/error
47
48cache:
49 previews:
50 size: 100 # Max number of previews you want to cache
51
52admin:
53 email: undefined
54
55signup:
56 enabled: false
57 limit: -1
58
59user:
60 # Default value of maximum video BYTES the user can upload (does not take into account transcoded files).
61 # -1 == unlimited
62 video_quota: -1
63
64# If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag
65# Uses a lot of CPU!
66transcoding:
67 enabled: false
68 threads: 2
69 resolutions: # Only created if the original video has a higher resolution
70 240p: true
71 360p: true
72 480p: true
73 720p: true
74 1080p: true
6500a90c 75
76# Instance settings
77instance:
78 name: 'PeerTube'
79 description: '' # Support markdown
80 terms: '' # Support markdown
ef48a0d5
BB
81 default_client_route: '/videos/trending'
82 customizations:
83 javascript: '' # Directly your JavaScript code (without <script> tags). Will be eval at runtime
84 css: '' # Directly your CSS code (without <style> tags). Will be injected at runtime