diff options
Diffstat (limited to 'config/default.yaml')
-rw-r--r-- | config/default.yaml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml index 3d0ae6e87..3865ab5cf 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -95,6 +95,39 @@ storage: | |||
95 | # If not, peertube will fallback to the default fil | 95 | # If not, peertube will fallback to the default fil |
96 | client_overrides: 'storage/client-overrides/' | 96 | client_overrides: 'storage/client-overrides/' |
97 | 97 | ||
98 | object_storage: | ||
99 | enabled: false | ||
100 | |||
101 | # Without protocol, will default to HTTPS | ||
102 | endpoint: '' # 's3.amazonaws.com' or 's3.fr-par.scw.cloud' for example | ||
103 | |||
104 | region: 'us-east-1' | ||
105 | |||
106 | credentials: | ||
107 | # You can also use AWS_ACCESS_KEY_ID env variable | ||
108 | access_key_id: '' | ||
109 | # You can also use AWS_SECRET_ACCESS_KEY env variable | ||
110 | secret_access_key: '' | ||
111 | |||
112 | # Maximum amount to upload in one request to object storage | ||
113 | max_upload_part: 2GB | ||
114 | |||
115 | streaming_playlists: | ||
116 | bucket_name: 'streaming-playlists' | ||
117 | |||
118 | # Allows setting all buckets to the same value but with a different prefix | ||
119 | prefix: '' # Example: 'streaming-playlists:' | ||
120 | |||
121 | # Base url for object URL generation, scheme and host will be replaced by this URL | ||
122 | # Useful when you want to use a CDN/external proxy | ||
123 | base_url: '' # Example: 'https://mirror.example.com' | ||
124 | |||
125 | # Same settings but for webtorrent videos | ||
126 | videos: | ||
127 | bucket_name: 'videos' | ||
128 | prefix: '' | ||
129 | base_url: '' | ||
130 | |||
98 | log: | 131 | log: |
99 | level: 'info' # 'debug' | 'info' | 'warn' | 'error' | 132 | level: 'info' # 'debug' | 'info' | 'warn' | 'error' |
100 | rotation: | 133 | rotation: |