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