aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/docker/production/config/production.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'support/docker/production/config/production.yaml')
-rw-r--r--support/docker/production/config/production.yaml64
1 files changed, 64 insertions, 0 deletions
diff --git a/support/docker/production/config/production.yaml b/support/docker/production/config/production.yaml
new file mode 100644
index 000000000..4666ea2ed
--- /dev/null
+++ b/support/docker/production/config/production.yaml
@@ -0,0 +1,64 @@
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
24# From the project root directory
25storage:
26 avatars: '../data/avatars/'
27 certs: '../data/certs/'
28 videos: '../data/videos/'
29 logs: '../data/logs/'
30 previews: '../data/previews/'
31 thumbnails: '../data/thumbnails/'
32 torrents: '../data/torrents/'
33 cache: '../data/cache/'
34
35log:
36 level: 'info' # debug/info/warning/error
37
38cache:
39 previews:
40 size: 100 # Max number of previews you want to cache
41
42admin:
43 email: undefined
44
45signup:
46 enabled: false
47 limit: -1
48
49user:
50 # Default value of maximum video BYTES the user can upload (does not take into account transcoded files).
51 # -1 == unlimited
52 video_quota: -1
53
54# If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag
55# Uses a lot of CPU!
56transcoding:
57 enabled: false
58 threads: 2
59 resolutions: # Only created if the original video has a higher resolution
60 240p: true
61 360p: true
62 480p: true
63 720p: true
64 1080p: true