# Correspond to your reverse proxy "listen" configuration
webserver:
- https: false
+ https: true
hostname: 'example.com'
- port: 80
+ port: 443
# Your database name will be "peertube"+database.suffix
database:
username: 'peertube'
password: 'peertube'
+redis:
+ hostname: 'localhost'
+ port: 6379
+ auth: null
+
# From the project root directory
storage:
- certs: 'certs/'
- videos: 'videos/'
- logs: 'logs/'
- previews: 'previews/'
- thumbnails: 'thumbnails/'
- torrents: 'torrents/'
- cache: 'cache/'
+ avatars: '/var/www/peertube/storage/avatars/'
+ videos: '/var/www/peertube/storage/videos/'
+ logs: '/var/www/peertube/storage/logs/'
+ previews: '/var/www/peertube/storage/previews/'
+ thumbnails: '/var/www/peertube/storage/thumbnails/'
+ torrents: '/var/www/peertube/storage/torrents/'
+ cache: '/var/www/peertube/storage/cache/'
+
+log:
+ level: 'debug' # debug/info/warning/error
cache:
previews:
- size: 1 # Max number of previews you want to cache
+ size: 100 # Max number of previews you want to cache
admin:
email: 'admin@example.com'