diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/dev.yaml | 105 | ||||
-rw-r--r-- | config/test.yaml | 22 |
2 files changed, 105 insertions, 22 deletions
diff --git a/config/dev.yaml b/config/dev.yaml new file mode 100644 index 000000000..15e239b29 --- /dev/null +++ b/config/dev.yaml | |||
@@ -0,0 +1,105 @@ | |||
1 | listen: | ||
2 | hostname: '::' | ||
3 | port: 9000 | ||
4 | |||
5 | webserver: | ||
6 | https: false | ||
7 | |||
8 | database: | ||
9 | hostname: 'localhost' | ||
10 | port: 5432 | ||
11 | |||
12 | redis: | ||
13 | hostname: 'localhost' | ||
14 | |||
15 | smtp: | ||
16 | hostname: null | ||
17 | port: 1025 | ||
18 | tls: false | ||
19 | disable_starttls: true | ||
20 | from_address: 'test-admin@localhost' | ||
21 | username: null | ||
22 | password: null | ||
23 | |||
24 | log: | ||
25 | level: 'debug' | ||
26 | |||
27 | contact_form: | ||
28 | enabled: true | ||
29 | |||
30 | peertube: | ||
31 | check_latest_version: | ||
32 | enabled: false | ||
33 | |||
34 | redundancy: | ||
35 | videos: | ||
36 | check_interval: '5 minutes' | ||
37 | strategies: | ||
38 | - | ||
39 | size: '1000MB' | ||
40 | min_lifetime: '10 minutes' | ||
41 | strategy: 'most-views' | ||
42 | - | ||
43 | size: '1000MB' | ||
44 | min_lifetime: '10 minutes' | ||
45 | strategy: 'trending' | ||
46 | - | ||
47 | size: '1000MB' | ||
48 | min_lifetime: '10 minutes' | ||
49 | strategy: 'recently-added' | ||
50 | min_views: 1 | ||
51 | |||
52 | cache: | ||
53 | previews: | ||
54 | size: 10 | ||
55 | captions: | ||
56 | size: 10 | ||
57 | torrents: | ||
58 | size: 10 | ||
59 | |||
60 | signup: | ||
61 | enabled: true | ||
62 | requires_email_verification: false | ||
63 | |||
64 | live: | ||
65 | enabled: true | ||
66 | |||
67 | allow_replay: true | ||
68 | |||
69 | transcoding: | ||
70 | enabled: true | ||
71 | threads: 2 | ||
72 | |||
73 | resolutions: | ||
74 | 360p: true | ||
75 | 720p: true | ||
76 | |||
77 | import: | ||
78 | videos: | ||
79 | concurrency: 2 | ||
80 | http: | ||
81 | enabled: true | ||
82 | torrent: | ||
83 | enabled: true | ||
84 | |||
85 | instance: | ||
86 | default_nsfw_policy: 'display' | ||
87 | |||
88 | plugins: | ||
89 | index: | ||
90 | check_latest_versions_interval: '10 minutes' | ||
91 | |||
92 | federation: | ||
93 | videos: | ||
94 | cleanup_remote_interactions: false | ||
95 | |||
96 | views: | ||
97 | videos: | ||
98 | remote: | ||
99 | max_age: -1 | ||
100 | |||
101 | geo_ip: | ||
102 | enabled: true | ||
103 | |||
104 | video_studio: | ||
105 | enabled: true | ||
diff --git a/config/test.yaml b/config/test.yaml index 8118c479b..3e08f0ac8 100644 --- a/config/test.yaml +++ b/config/test.yaml | |||
@@ -133,28 +133,6 @@ plugins: | |||
133 | index: | 133 | index: |
134 | check_latest_versions_interval: '10 minutes' | 134 | check_latest_versions_interval: '10 minutes' |
135 | 135 | ||
136 | search: | ||
137 | # Add ability to fetch remote videos/actors by their URI, that may not be federated with your instance | ||
138 | # If enabled, the associated group will be able to "escape" from the instance follows | ||
139 | # That means they will be able to follow channels, watch videos, list videos of non followed instances | ||
140 | remote_uri: | ||
141 | users: true | ||
142 | anonymous: false | ||
143 | |||
144 | # Use a third party index instead of your local index, only for search results | ||
145 | # Useful to discover content outside of your instance | ||
146 | search_index: | ||
147 | enabled: false | ||
148 | # URL of the search index, that should use the same search API and routes | ||
149 | # than PeerTube: https://docs.joinpeertube.org/api-rest-reference.html | ||
150 | # You should deploy your own with https://framagit.org/framasoft/peertube/search-index, | ||
151 | # and can use https://search.joinpeertube.org/ for tests, but keep in mind the latter is an unmoderated search index | ||
152 | url: 'http://localhost:3234' | ||
153 | # You can disable local search, so users only use the search index | ||
154 | disable_local_search: false | ||
155 | # If you did not disable local search, you can decide to use the search index by default | ||
156 | is_default_search: true | ||
157 | |||
158 | federation: | 136 | federation: |
159 | videos: | 137 | videos: |
160 | federate_unlisted: true | 138 | federate_unlisted: true |