]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - config/test.yaml
Allow only admin to download a video
[github/Chocobozzz/PeerTube.git] / config / test.yaml
CommitLineData
8c308c2b 1listen:
87bc58e1 2 hostname: '0.0.0.0'
8c308c2b
C
3 port: 9000
4
5webserver:
6 https: false
7
c1340a6a
C
8rates_limit:
9 signup:
10 window: 10 minutes
11 max: 50
12 login:
13 window: 5 minutes
14 max: 20
8ed86e76
C
15 api:
16 window: 10 seconds
17 max: 500
c1340a6a 18
8c308c2b 19database:
3737bbaf 20 hostname: 'localhost'
feb4bdfd 21 port: 5432
e22528ac 22
2284f202
C
23redis:
24 hostname: 'localhost'
25
f076daa7
C
26smtp:
27 hostname: null
28 port: 1025
29 tls: false
bebf2d89 30 disable_starttls: true
31b5a255 31 from_address: 'test-admin@localhost'
f076daa7
C
32 username: null
33 password: null
34
a0922eb9
C
35log:
36 level: 'debug'
37
a4101923
C
38contact_form:
39 enabled: true
529f0372
C
40
41redundancy:
42 videos:
43 check_interval: '1 minute'
44 strategies:
45 -
46 size: '1000MB'
47 min_lifetime: '10 minutes'
48 strategy: 'most-views'
49 -
50 size: '1000MB'
51 min_lifetime: '10 minutes'
52 strategy: 'trending'
53 -
54 size: '1000MB'
55 min_lifetime: '10 minutes'
56 strategy: 'recently-added'
57 min_views: 1
c48e82b5 58
f842e810
C
59cache:
60 previews:
61 size: 1
62 captions:
63 size: 1
64
e22528ac
C
65signup:
66 enabled: true
d9eaee39 67 requires_email_verification: false
aa8b6df4
C
68
69transcoding:
a22bfc3e 70 enabled: true
14e2014a 71 allow_additional_extensions: false
536598cf 72 allow_audio_files: false
a22bfc3e 73 threads: 2
1125c40a 74 resolutions:
3a149e9f 75 0p: false
1125c40a
C
76 240p: true
77 360p: true
78 480p: true
79 720p: true
80 1080p: true
ad3405d0 81 2160p: true
09209296
C
82 hls:
83 enabled: true
0883b324 84
c6c0fa6c
C
85live:
86 enabled: false
87
88 rtmp:
89 port: 1935
90
91 transcoding:
fb719404 92 enabled: false
c6c0fa6c
C
93 threads: 2
94
95 resolutions:
96 240p: false
97 360p: false
98 480p: false
99 720p: false
100 1080p: false
101 2160p: false
102
5d08a6a7
C
103import:
104 videos:
105 http:
106 enabled: true
6848b9f4 107 proxy:
1e904cde
C
108 enabled: false
109 url: ""
a84b8fa5
C
110 torrent:
111 enabled: true
5d08a6a7 112
0883b324 113instance:
6040f87d 114 default_nsfw_policy: 'display'
41b15c89
C
115
116plugins:
117 index:
118 check_latest_versions_interval: '10 minutes'
5fb2e288
C
119
120search:
121 # Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance
122 # If enabled, the associated group will be able to "escape" from the instance follows
123 # That means they will be able to follow channels, watch videos, list videos of non followed instances
124 remote_uri:
125 users: true
126 anonymous: false
127
128 # Use a third party index instead of your local index, only for search results
129 # Useful to discover content outside of your instance
130 search_index:
3b0bd70a 131 enabled: false
5fb2e288
C
132 # URL of the search index, that should use the same search API and routes
133 # than PeerTube: https://docs.joinpeertube.org/api-rest-reference.html
134 # You should deploy your own with https://framagit.org/framasoft/peertube/search-index,
135 # and can use https://search.joinpeertube.org/ for tests, but keep in mind the latter is an unmoderated search index
136 url: 'http://localhost:3234'
137 # You can disable local search, so users only use the search index
138 disable_local_search: false
139 # If you did not disable local search, you can decide to use the search index by default
140 is_default_search: true
a25507f6
C
141
142federation:
143 videos:
144 federate_unlisted: true
413b9729
C
145
146views:
147 videos:
148 remote:
149 max_age: -1