aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/test.yaml
blob: 94d74ffa51bd7e775bc1972afde680743be5dbe7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
listen:
  hostname: '::'
  port: 9000

webserver:
  hostname: '127.0.0.1'
  https: false

secrets:
  peertube: 'my super secret'

rates_limit:
  signup:
    window: 10 minutes
    max: 50
  login:
    window: 5 minutes
    max: 20
  api:
    window: 10 seconds
    max: 500

database:
  hostname: '127.0.0.1'
  port: 5432

redis:
  hostname: '127.0.0.1'

smtp:
  hostname: null
  port: 1025
  tls: false
  disable_starttls: true
  from_address: 'test-admin@127.0.0.1'
  username: null
  password: null

log:
  level: 'debug'

contact_form:
  enabled: true

peertube:
  check_latest_version:
    enabled: false

redundancy:
  videos:
    check_interval: '1 minute'
    strategies:
      -
        size: '1000MB'
        min_lifetime: '10 minutes'
        strategy: 'most-views'
      -
        size: '1000MB'
        min_lifetime: '10 minutes'
        strategy: 'trending'
      -
        size: '1000MB'
        min_lifetime: '10 minutes'
        strategy: 'recently-added'
        min_views: 1

cache:
  previews:
    size: 1
  captions:
    size: 1
  torrents:
    size: 1

signup:
  enabled: true
  requires_approval: false
  requires_email_verification: false

transcoding:
  enabled: true
  allow_additional_extensions: false
  allow_audio_files: false
  threads: 2
  concurrency: 2
  resolutions:
    0p: false
    144p: false
    240p: true
    360p: true
    480p: true
    720p: true
    1080p: true
    1440p: true
    2160p: true
  webtorrent:
    enabled: true
  hls:
    enabled: true

live:
  enabled: false

  allow_replay: false

  rtmp:
    port: 1935

  transcoding:
    enabled: false
    threads: 2

    resolutions:
      144p: false
      240p: false
      360p: false
      480p: false
      720p: false
      1080p: false
      1440p: false
      2160p: false

import:
  videos:
    concurrency: 2
    http:
      enabled: true
    torrent:
      enabled: true

instance:
  default_nsfw_policy: 'display'

plugins:
  index:
    check_latest_versions_interval: '10 minutes'

federation:
  videos:
    federate_unlisted: true
    cleanup_remote_interactions: false

views:
  videos:
    remote:
      max_age: -1

    local_buffer_update_interval: '5 seconds'
    ip_view_expiration: '1 second'

geo_ip:
  enabled: false

video_studio:
  enabled: true

open_telemetry:
  metrics:
    prometheus_exporter:
      port: 9092