diff options
author | Chocobozzz <me@florianbigard.com> | 2019-02-06 12:26:58 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-02-06 12:26:58 +0100 |
commit | 73471b1a52f242e86364ffb077ea6cadb3b07ae2 (patch) | |
tree | 43dbb7748e281f8d80f15326f489cdea10ec857d /config/production.yaml.example | |
parent | c22419dd265c0c7185bf4197a1cb286eb3d8ebc0 (diff) | |
parent | f5305c04aae14467d6f957b713c5a902275cbb89 (diff) | |
download | PeerTube-73471b1a52f242e86364ffb077ea6cadb3b07ae2.tar.gz PeerTube-73471b1a52f242e86364ffb077ea6cadb3b07ae2.tar.zst PeerTube-73471b1a52f242e86364ffb077ea6cadb3b07ae2.zip |
Merge branch 'release/v1.2.0'
Diffstat (limited to 'config/production.yaml.example')
-rw-r--r-- | config/production.yaml.example | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/config/production.yaml.example b/config/production.yaml.example index ac15fc736..661eac0d5 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -46,8 +46,10 @@ smtp: | |||
46 | 46 | ||
47 | # From the project root directory | 47 | # From the project root directory |
48 | storage: | 48 | storage: |
49 | tmp: '/var/www/peertube/storage/tmp/' # Used to download data (imports etc), store uploaded files before processing... | ||
49 | avatars: '/var/www/peertube/storage/avatars/' | 50 | avatars: '/var/www/peertube/storage/avatars/' |
50 | videos: '/var/www/peertube/storage/videos/' | 51 | videos: '/var/www/peertube/storage/videos/' |
52 | redundancy: '/var/www/peertube/storage/videos/' | ||
51 | logs: '/var/www/peertube/storage/logs/' | 53 | logs: '/var/www/peertube/storage/logs/' |
52 | previews: '/var/www/peertube/storage/previews/' | 54 | previews: '/var/www/peertube/storage/previews/' |
53 | thumbnails: '/var/www/peertube/storage/thumbnails/' | 55 | thumbnails: '/var/www/peertube/storage/thumbnails/' |
@@ -76,7 +78,7 @@ trending: | |||
76 | redundancy: | 78 | redundancy: |
77 | videos: | 79 | videos: |
78 | check_interval: '1 hour' # How often you want to check new videos to cache | 80 | check_interval: '1 hour' # How often you want to check new videos to cache |
79 | strategies: | 81 | strategies: # Just uncomment strategies you want |
80 | # - | 82 | # - |
81 | # size: '10GB' | 83 | # size: '10GB' |
82 | # # Minimum time the video must remain in the cache. Only accept values > 10 hours (to not overload remote instances) | 84 | # # Minimum time the video must remain in the cache. Only accept values > 10 hours (to not overload remote instances) |
@@ -113,8 +115,13 @@ cache: | |||
113 | size: 500 # Max number of video captions/subtitles you want to cache | 115 | size: 500 # Max number of video captions/subtitles you want to cache |
114 | 116 | ||
115 | admin: | 117 | admin: |
118 | # Used to generate the root user at first startup | ||
119 | # And to receive emails from the contact form | ||
116 | email: 'admin@example.com' | 120 | email: 'admin@example.com' |
117 | 121 | ||
122 | contact_form: | ||
123 | enabled: true | ||
124 | |||
118 | signup: | 125 | signup: |
119 | enabled: false | 126 | enabled: false |
120 | limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited | 127 | limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited |
@@ -135,6 +142,8 @@ user: | |||
135 | # Please, do not disable transcoding since many uploaded videos will not work | 142 | # Please, do not disable transcoding since many uploaded videos will not work |
136 | transcoding: | 143 | transcoding: |
137 | enabled: true | 144 | enabled: true |
145 | # Allow your users to upload .mkv, .mov, .avi, .flv videos | ||
146 | allow_additional_extensions: true | ||
138 | threads: 1 | 147 | threads: 1 |
139 | resolutions: # Only created if the original video has a higher resolution, uses more storage! | 148 | resolutions: # Only created if the original video has a higher resolution, uses more storage! |
140 | 240p: false | 149 | 240p: false |
@@ -173,6 +182,8 @@ instance: | |||
173 | "# If you would like to report a security issue\n# you may report it to:\nContact: https://github.com/Chocobozzz/PeerTube/blob/develop/SECURITY.md\nContact: mailto:" | 182 | "# If you would like to report a security issue\n# you may report it to:\nContact: https://github.com/Chocobozzz/PeerTube/blob/develop/SECURITY.md\nContact: mailto:" |
174 | 183 | ||
175 | services: | 184 | services: |
185 | # You can provide a reporting endpoint for Content Security Policy violations | ||
186 | csp-logger: | ||
176 | # Cards configuration to format video in Twitter | 187 | # Cards configuration to format video in Twitter |
177 | twitter: | 188 | twitter: |
178 | username: '@Chocobozzz' # Indicates the Twitter account for the website or platform on which the content was published | 189 | username: '@Chocobozzz' # Indicates the Twitter account for the website or platform on which the content was published |